aboutsummaryrefslogtreecommitdiff
path: root/stsci.image
diff options
context:
space:
mode:
Diffstat (limited to 'stsci.image')
-rw-r--r--stsci.image/stsci.image.ini17
1 files changed, 9 insertions, 8 deletions
diff --git a/stsci.image/stsci.image.ini b/stsci.image/stsci.image.ini
index 7987703..b8406bc 100644
--- a/stsci.image/stsci.image.ini
+++ b/stsci.image/stsci.image.ini
@@ -1,6 +1,6 @@
[package]
name: stsci.image
-version: 2.1
+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.image.git
+git_url: ssh://git@bitbucket.org/stsci_ssb/stsci.image.git
[build]
-number: 1
+number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
# Namespace package workaround
preserve_egg_dir: yes
@@ -28,7 +26,7 @@ build:
pyfits
numpy
python
-
+
run:
d2to1
stsci.distutils
@@ -43,8 +41,11 @@ run:
linux:
echo This d2to1 hack is deadly.
pip install --no-deps --upgrade --force d2to1 || exit 1
- python setup.py install --single-version-externally-managed --record=record.txt || exit 1
+ python setup.py install || exit 1
windows:
- python setup.py install --single-version-externally-managed --record=record.txt
+ pip install --no-deps --upgrade --force d2to1
+ if errorlevel 1 exit 1
+
+ python setup.py install
if errorlevel 1 exit 1