aboutsummaryrefslogtreecommitdiff
path: root/stsci.stimage
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-23 16:30:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-23 16:30:52 -0400
commitf7625cda5d6be046e1ea905bf8858cb0eae6f70f (patch)
tree4bdb6da29496b34f74a93ee780827ee32d0ca647 /stsci.stimage
parent8d3230be1d54de8e1d153e1f77a22da8e74d12c1 (diff)
downloadcbc-recipes-f7625cda5d6be046e1ea905bf8858cb0eae6f70f.tar.gz
Massive overhaul. Switching to remote URLs.
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