diff options
Diffstat (limited to 'stwcs')
-rw-r--r-- | stwcs/stwcs.ini | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/stwcs/stwcs.ini b/stwcs/stwcs.ini index 094b08f..68a3d9e 100644 --- a/stwcs/stwcs.ini +++ b/stwcs/stwcs.ini @@ -1,6 +1,6 @@ [package] name : stwcs -version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git +version : 1.2.3 [about] home : https://github.com/spacetelescope/${package:name} @@ -8,13 +8,11 @@ license : BSD summary : ${package:name} [source] -#fn : ${package:name}-${package:version}.tar.gz -#url : ${about:home}/${fn} git_url : ${about:home} -#git_tag : +git_tag: [build] -number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} +number : 0 [requirements] build : @@ -59,14 +57,15 @@ linux : pip install --no-deps --upgrade --force d2to1 + + sed -i -e "s|use_2to3=True|use_2to3=False|" setup.py if [ $$PY3K -ne 0 ] ; then sed -i -e "s|stsci.distutils.hooks.tag_svn_revision|#removed|" setup.cfg - 2to3 -w . fi + python setup.py install || exit 1 windows : python setup.py install - 2to3 -w . if errorlevel 1 exit 1 |