diff options
Diffstat (limited to 'wfc3tools')
-rw-r--r-- | wfc3tools/bld.bat | 4 | ||||
-rw-r--r-- | wfc3tools/build.sh | 2 | ||||
-rw-r--r-- | wfc3tools/meta.yaml | 19 |
3 files changed, 11 insertions, 14 deletions
diff --git a/wfc3tools/bld.bat b/wfc3tools/bld.bat index 976d3b9..7fba400 100644 --- a/wfc3tools/bld.bat +++ b/wfc3tools/bld.bat @@ -1,5 +1,3 @@ -if errorlevel 1 exit 1 -python setup.py install -if errorlevel 1 exit 1
\ No newline at end of file +%PYTHON% setup.py install diff --git a/wfc3tools/build.sh b/wfc3tools/build.sh index 10954df..9104e24 100644 --- a/wfc3tools/build.sh +++ b/wfc3tools/build.sh @@ -1,3 +1,3 @@ -python setup.py install || exit 1
\ No newline at end of file +$PYTHON setup.py install diff --git a/wfc3tools/meta.yaml b/wfc3tools/meta.yaml index 49aad6e..e9415e5 100644 --- a/wfc3tools/meta.yaml +++ b/wfc3tools/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'wfc3tools' %} -{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0") - +".dev" - +environ.get("GIT_DESCRIBE_NUMBER", "0") %} -{% set number = '1' %} +{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set number = '2' %} about: home: https://github.com/spacetelescope/{{ name }} @@ -18,22 +19,20 @@ package: requirements: build: - - d2to1 - - stsci.distutils - astropy - matplotlib - scipy - stsci.tools - setuptools - - numpy - - python x.x + - numpy {{ numpy }} + - python {{ python }} run: - - stsci.tools - astropy - matplotlib - numpy - scipy - - python x.x + - stsci.tools + - python source: git_url: https://github.com/spacetelescope/{{ name }}.git |