aboutsummaryrefslogtreecommitdiff
path: root/stsci.sphere
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-09-25 12:04:23 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-09-25 12:04:23 -0400
commit31ce665a4b073e09516e3d7b757d7872f4a6ecc0 (patch)
treea11700367df0c7b53660038238db7300b293bebf /stsci.sphere
parentf9eee35d0315930db0811308adaa728809a6b7a2 (diff)
downloadcbc-recipes-31ce665a4b073e09516e3d7b757d7872f4a6ecc0.tar.gz
Initial commit
Diffstat (limited to 'stsci.sphere')
-rw-r--r--stsci.sphere/stsci.sphere.ini45
1 files changed, 45 insertions, 0 deletions
diff --git a/stsci.sphere/stsci.sphere.ini b/stsci.sphere/stsci.sphere.ini
new file mode 100644
index 0000000..9a006c6
--- /dev/null
+++ b/stsci.sphere/stsci.sphere.ini
@@ -0,0 +1,45 @@
+[package]
+name: stsci.sphere
+version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home: http://www.stsci.edu/institute/software_hardware
+license: GPL
+summary: ${package:name}
+
+[source]
+git_url: ssh://git@bitbucket.org/stsci_ssb/${package:name}
+
+[build]
+number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+# Namespace package workaround
+preserve_egg_dir: no
+
+[requirements]
+build:
+ d2to1
+ setuptools
+ stsci.distutils
+ numpy
+ python
+
+run:
+ d2to1
+ #pyfits
+ numpy
+ python
+
+
+[cbc_build]
+linux:
+ echo This d2to1 hack is deadly.
+ pip install --no-deps --upgrade --force d2to1 || exit 1
+ python setup.py install || exit 1
+
+windows:
+ 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