diff options
Diffstat (limited to 'crds')
-rw-r--r-- | crds/bld.bat | 3 | ||||
-rw-r--r-- | crds/build.sh | 2 | ||||
-rw-r--r-- | crds/meta.yaml | 15 |
3 files changed, 10 insertions, 10 deletions
diff --git a/crds/bld.bat b/crds/bld.bat index 5d42b68..7fba400 100644 --- a/crds/bld.bat +++ b/crds/bld.bat @@ -1,4 +1,3 @@ -python setup.py install -if errorlevel 1 exit 1
\ No newline at end of file +%PYTHON% setup.py install diff --git a/crds/build.sh b/crds/build.sh index 762d43b..5a5aeeb 100644 --- a/crds/build.sh +++ b/crds/build.sh @@ -1 +1 @@ -python setup.py install +$PYTHON setup.py install diff --git a/crds/meta.yaml b/crds/meta.yaml index a27232a..3504da4 100644 --- a/crds/meta.yaml +++ b/crds/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'crds' %} -{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0") - +".dev" - +environ.get("GIT_DESCRIBE_NUMBER", "0") %} -{% set number = '0' %} +{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set number = '1' %} about: home: http://www.stsci.edu/hst/observatory/crds/ @@ -23,13 +24,13 @@ requirements: build: - astropy >=1.1 - cfitsio - - numpy + - numpy {{ numpy }} - requests - lxml - parsley - lockfile - setuptools - - python x.x + - python {{ python }} run: - astropy >=1.1 @@ -40,7 +41,7 @@ requirements: - fitsverify - parsley - lockfile - - python x.x + - python source: git_url: https://github.com/spacetelescope/{{ name }}.git |