diff options
author | Joe Hunkeler <jhunk@stsci.edu> | 2016-03-18 20:32:47 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunk@stsci.edu> | 2016-03-20 15:05:18 -0400 |
commit | 93827d0b141afbf43780d28ed423173b0303289a (patch) | |
tree | 4cc122e6ab52acd77f7029322ea2b3c8f5b5ba68 /stwcs | |
parent | c2258bb3ed15fe8db17bf323f5f100731a167cf5 (diff) | |
download | cbc-recipes-93827d0b141afbf43780d28ed423173b0303289a.tar.gz |
Begin prepping for internal testing
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 |