diff options
Diffstat (limited to 'stsci.numdisplay/stsci.numdisplay.ini')
-rw-r--r-- | stsci.numdisplay/stsci.numdisplay.ini | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/stsci.numdisplay/stsci.numdisplay.ini b/stsci.numdisplay/stsci.numdisplay.ini index 0e5dc36..675d1a7 100644 --- a/stsci.numdisplay/stsci.numdisplay.ini +++ b/stsci.numdisplay/stsci.numdisplay.ini @@ -1,6 +1,6 @@ [package] name: stsci.numdisplay -version: 1.6 +version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}.git [about] home: https://github.com/embray/${package:name} @@ -9,12 +9,10 @@ summary: ${package:name} #readme: README.md [source] -fn: ${package:name}-${package:version}.tar.gz -url: ${cbc_cgi:url}/${fn} -#git_url: git@bitbucket.org:jhunkeler/stsci.numdisplay.git +git_url: ssh://git@bitbucket.org/stsci_ssb/${package:name} [build] -number: 1 +number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} # Namespace package workaround preserve_egg_dir: no @@ -22,16 +20,14 @@ preserve_egg_dir: no build: d2to1 stsci.tools - distribute setuptools pyfits numpy python - + run: d2to1 stsci.tools - distribute pyfits numpy python @@ -44,5 +40,9 @@ linux: python setup.py install || exit 1 windows: - python setup.py install --single-version-externally-managed --record=record.txt + echo This d2to1 hack is deadly. + pip install --no-deps --upgrade --force d2to1 + if errorlevel 1 exit 1 + + python setup.py install if errorlevel 1 exit 1 |