summaryrefslogtreecommitdiff
path: root/calcos
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunk@stsci.edu>2016-03-23 17:00:53 -0400
committerJoe Hunkeler <jhunk@stsci.edu>2016-03-23 17:00:53 -0400
commite4caf4a2acbb18875b1064246554e4105449b5a3 (patch)
treeb57ece5acd84c9a8c9235818b975a439c8ae3df9 /calcos
downloadastroconda-contrib-e4caf4a2acbb18875b1064246554e4105449b5a3.tar.gz
Initial commit
Diffstat (limited to 'calcos')
-rw-r--r--calcos/bld.bat4
-rw-r--r--calcos/build.sh4
-rw-r--r--calcos/meta.yaml32
3 files changed, 40 insertions, 0 deletions
diff --git a/calcos/bld.bat b/calcos/bld.bat
new file mode 100644
index 0000000..5d42b68
--- /dev/null
+++ b/calcos/bld.bat
@@ -0,0 +1,4 @@
+
+
+python setup.py install
+if errorlevel 1 exit 1 \ No newline at end of file
diff --git a/calcos/build.sh b/calcos/build.sh
new file mode 100644
index 0000000..52582b9
--- /dev/null
+++ b/calcos/build.sh
@@ -0,0 +1,4 @@
+
+pip install --no-deps --upgrade --force d2to1
+sed -i -e 's|pyfits.*|astropy (>=0.3.1)|' setup.cfg
+python setup.py install || exit 1 \ No newline at end of file
diff --git a/calcos/meta.yaml b/calcos/meta.yaml
new file mode 100644
index 0000000..7914c87
--- /dev/null
+++ b/calcos/meta.yaml
@@ -0,0 +1,32 @@
+about:
+ home: https://github.com/spacetelescope/calcos
+ summary: calcos
+build:
+ number: '0'
+package:
+ name: calcos
+ version: 3.1.3
+requirements:
+ build:
+ - d2to1
+ - numpy x.x
+ - astropy >=1.1
+ - scipy
+ - stsci.distutils
+ - stsci.tools
+ - setuptools
+ - python x.x
+ run:
+ - numpy x.x
+ - astropy >=1.1
+ - scipy
+ - stsci.tools
+ - python x.x
+source:
+ git_tag: 3.1.3
+ git_url: https://github.com/spacetelescope/calcos
+test:
+ commands:
+ - calcos --help
+ imports:
+ - calcos