diff options
author | Joseph Hunkeler <jhunk@stsci.edu> | 2015-12-10 00:17:49 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunk@stsci.edu> | 2015-12-10 00:17:49 -0500 |
commit | 312cc53bf263fd7a6dc2844fa302c621b9219d87 (patch) | |
tree | 82de25c517c4a13a7bfa7eee4021de2c95cb4348 | |
parent | 1a03b42958fd15595f191552a3201361efe2676f (diff) | |
download | cbc-recipes-312cc53bf263fd7a6dc2844fa302c621b9219d87.tar.gz |
Fix non-gitcentric version/buildnum entries
-rw-r--r-- | imexam/imexam.ini | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/imexam/imexam.ini b/imexam/imexam.ini index 3503b31..b242fba 100644 --- a/imexam/imexam.ini +++ b/imexam/imexam.ini @@ -1,6 +1,6 @@ [package] name: imexam -version: 0.5.git +version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git [about] home: https://github.com/spacetelescope/${package:name} @@ -14,7 +14,7 @@ readme: README.rst git_url: ${about:home} [build] -number: 1 +number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} [requirements] build: @@ -46,9 +46,15 @@ run: linux: 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 - python setup.py install --offline || exit 1 + sed -i -e 's|auto_use|#auto_use|g' setup.cfg + python setup.py install || exit 1 windows: + 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 |