diff options
Diffstat (limited to 'imexam')
-rw-r--r-- | imexam/bld.bat | 8 | ||||
-rw-r--r-- | imexam/build.sh | 8 | ||||
-rw-r--r-- | imexam/meta.yaml | 17 |
3 files changed, 10 insertions, 23 deletions
diff --git a/imexam/bld.bat b/imexam/bld.bat index f300b17..39b5e1f 100644 --- a/imexam/bld.bat +++ b/imexam/bld.bat @@ -1,7 +1 @@ - -pip install --no-deps --upgrade --force d2to1 -if errorlevel 1 exit 1 -pip install --no-deps --upgrade --force astropy_helpers || exit 1 -if errorlevel 1 exit 1 -python setup.py install --offline -if errorlevel 1 exit 1
\ No newline at end of file +%PYTHON% setup.py install diff --git a/imexam/build.sh b/imexam/build.sh index 70f3a36..5a5aeeb 100644 --- a/imexam/build.sh +++ b/imexam/build.sh @@ -1,7 +1 @@ - -echo This d2to1 hack is deadly. -pip install --no-deps --upgrade --force d2to1 || exit 1 -pip install --no-deps --upgrade --force astropy_helpers || exit 1 -sed -i -e 's|find-links|#find-links|g' setup.cfg -sed -i -e 's|auto_use|#auto_use|g' setup.cfg -python setup.py install || exit 1
\ No newline at end of file +$PYTHON setup.py install diff --git a/imexam/meta.yaml b/imexam/meta.yaml index 4a35a8a..6d586da 100644 --- a/imexam/meta.yaml +++ b/imexam/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'imexam' %} -{% 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,18 +19,16 @@ package: requirements: build: - - d2to1 - - stsci.distutils - nose - astropy - - numpy + - numpy {{ numpy }} - scipy - cython - matplotlib - ipython - setuptools - mock [py27] - - python x.x + - python {{ python }} run: - nose @@ -40,7 +39,7 @@ requirements: - matplotlib - ipython - mock [py27] - - python x.x + - python source: git_url: https://github.com/spacetelescope/{{ name }}.git |