diff options
Diffstat (limited to 'wfc3tools')
| -rw-r--r-- | wfc3tools/bld.bat | 3 | ||||
| -rw-r--r-- | wfc3tools/build.sh | 2 | ||||
| -rw-r--r-- | wfc3tools/meta.yaml | 11 | 
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 | 
