aboutsummaryrefslogtreecommitdiff
path: root/stsci.imagemanip
diff options
context:
space:
mode:
Diffstat (limited to 'stsci.imagemanip')
-rw-r--r--stsci.imagemanip/stsci.imagemanip.ini19
1 files changed, 10 insertions, 9 deletions
diff --git a/stsci.imagemanip/stsci.imagemanip.ini b/stsci.imagemanip/stsci.imagemanip.ini
index 27189b4..33825d1 100644
--- a/stsci.imagemanip/stsci.imagemanip.ini
+++ b/stsci.imagemanip/stsci.imagemanip.ini
@@ -1,20 +1,17 @@
[package]
name: stsci.imagemanip
-version: 1.1
+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.imagemanip.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
@@ -29,7 +26,7 @@ build:
pyfits
numpy
python
-
+
run:
d2to1
stsci.distutils
@@ -45,8 +42,12 @@ 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
+ 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