aboutsummaryrefslogtreecommitdiff
path: root/stsci.imagemanip/stsci.imagemanip.ini
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.imagemanip/stsci.imagemanip.ini
parent8d3230be1d54de8e1d153e1f77a22da8e74d12c1 (diff)
downloadcbc-recipes-f7625cda5d6be046e1ea905bf8858cb0eae6f70f.tar.gz
Massive overhaul. Switching to remote URLs.
Diffstat (limited to 'stsci.imagemanip/stsci.imagemanip.ini')
-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