aboutsummaryrefslogtreecommitdiff
path: root/stsci.stimage
diff options
context:
space:
mode:
Diffstat (limited to 'stsci.stimage')
-rw-r--r--stsci.stimage/stsci.stimage.ini19
1 files changed, 9 insertions, 10 deletions
diff --git a/stsci.stimage/stsci.stimage.ini b/stsci.stimage/stsci.stimage.ini
index 4c1571e..49576ba 100644
--- a/stsci.stimage/stsci.stimage.ini
+++ b/stsci.stimage/stsci.stimage.ini
@@ -1,20 +1,17 @@
[package]
name: stsci.stimage
-version: 0.2
+version: {{ environ.get("GIT_DESCRIBE_TAG", "") }}.git
[about]
home: https://github.com/embray/${package:name}
license: GPL
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.stimage.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: yes
@@ -22,15 +19,13 @@ number: 1
build:
d2to1
stsci.distutils
- distribute
setuptools
numpy
python
-
+
run:
d2to1
stsci.distutils
- distribute
numpy
python
@@ -42,5 +37,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