aboutsummaryrefslogtreecommitdiff
path: root/pyregion
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2015-11-18 09:29:05 -0500
committerJoseph Hunkeler <jhunk@stsci.edu>2015-11-18 09:29:05 -0500
commit667020371bcb20c34a2934196c245caef2e26fa0 (patch)
tree494b9fb367b6862b3a7cdd4d0216d71438afd012 /pyregion
parentb36f594450a401300d9f83ea365009cd146ae24f (diff)
downloadcbc-recipes-667020371bcb20c34a2934196c245caef2e26fa0.tar.gz
Initial commit
Diffstat (limited to 'pyregion')
-rw-r--r--pyregion/pyregion.ini41
1 files changed, 41 insertions, 0 deletions
diff --git a/pyregion/pyregion.ini b/pyregion/pyregion.ini
new file mode 100644
index 0000000..e6f4f72
--- /dev/null
+++ b/pyregion/pyregion.ini
@@ -0,0 +1,41 @@
+[package]
+name: pyregion
+version: {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home: http://www.stsci.edu/institute/software_hardware/pyraf/stsci_python
+license: BSD
+summary: ${package:name}
+
+[source]
+git_url: ssh://git@bitbucket.org/stsci_ssb/${package:name}
+
+[build]
+number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build:
+ d2to1
+ numpy
+ pyparsing
+ python
+ setuptools
+run:
+ numpy
+ pyparsing
+ setuptools
+ 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 || exit 1
+ if errorlevel 1 exit 1