summaryrefslogtreecommitdiff
path: root/wfc3tools
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2018-02-22 08:53:06 -0500
committerGitHub <noreply@github.com>2018-02-22 08:53:06 -0500
commitd4ccb57a335dfda4b3583107767a081691352b2f (patch)
tree43dd1892560bcc467c5eaf1373390cefe4707acd /wfc3tools
parentebe4788bd2ee01f8b991f02d1665db3d87cc383d (diff)
parente027b0e371ddedc4377b43b425d2f67282ff45b7 (diff)
downloadastroconda-contrib-d4ccb57a335dfda4b3583107767a081691352b2f.tar.gz
Merge branch 'master' into patch-3
Diffstat (limited to 'wfc3tools')
-rw-r--r--wfc3tools/bld.bat3
-rw-r--r--wfc3tools/build.sh2
-rw-r--r--wfc3tools/meta.yaml11
3 files changed, 9 insertions, 7 deletions
diff --git a/wfc3tools/bld.bat b/wfc3tools/bld.bat
index 2d6c912..39b5e1f 100644
--- a/wfc3tools/bld.bat
+++ b/wfc3tools/bld.bat
@@ -1,2 +1 @@
-python setup.py install
-if errorlevel 1 exit 1
+%PYTHON% setup.py install
diff --git a/wfc3tools/build.sh b/wfc3tools/build.sh
index 5c61be1..5a5aeeb 100644
--- a/wfc3tools/build.sh
+++ b/wfc3tools/build.sh
@@ -1 +1 @@
-python setup.py install || exit 1
+$PYTHON setup.py install
diff --git a/wfc3tools/meta.yaml b/wfc3tools/meta.yaml
index c5adfd6..ae60327 100644
--- a/wfc3tools/meta.yaml
+++ b/wfc3tools/meta.yaml
@@ -1,6 +1,9 @@
{% set name = 'wfc3tools' %}
{% set version = '1.3.4' %}
-{% set number = '1' %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '2' %}
about:
home: https://github.com/spacetelescope/{{ name }}
@@ -17,16 +20,16 @@ package:
requirements:
build:
- astropy >=1.1
- - numpy
+ - numpy {{ numpy }}
- setuptools
- - python x.x
+ - python {{ python }}
- matplotlib
- scipy
- stsci.tools
run:
- astropy >=1.1
- numpy
- - python x.x
+ - python
- stsci.tools
- matplotlib
- scipy