aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--calacs/calacs.ini46
-rw-r--r--nictools/nictools.ini49
-rw-r--r--stsci/stsci.ini84
-rw-r--r--wfc3tools/wfc3tools.ini49
-rw-r--r--wfpc2tools/wfpc2tools.ini79
5 files changed, 307 insertions, 0 deletions
diff --git a/calacs/calacs.ini b/calacs/calacs.ini
new file mode 100644
index 0000000..e8845dc
--- /dev/null
+++ b/calacs/calacs.ini
@@ -0,0 +1,46 @@
+[package]
+name : calacs
+version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home : ssh://git@bitbucket.org/stsci_ssb/${package:name}.git
+license :
+summary : ${package:name}
+
+[source]
+#fn : ${package:name}-${package:version}.tar.gz
+#url : ${about:home}/${fn}
+git_url : ${about:home}
+#git_tag :
+
+[build]
+number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build :
+ d2to1
+ numpy
+ pyfits
+ stsci.distutils
+ setuptools
+ python
+run :
+ numpy
+ pyfits
+ python
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+ pip install --no-deps --upgrade --force d2to1
+ python setup.py install || exit 1
+windows :
+
+ python setup.py install
+ if errorlevel 1 exit 1
+
diff --git a/nictools/nictools.ini b/nictools/nictools.ini
new file mode 100644
index 0000000..2acb4e6
--- /dev/null
+++ b/nictools/nictools.ini
@@ -0,0 +1,49 @@
+[package]
+name : nictools
+version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home : ssh://git@bitbucket.org/stsci_ssb/${package:name}
+license :
+summary : ${package:name}
+
+[source]
+git_url : ${about:home}
+
+[build]
+number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}
+
+[requirements]
+build :
+ astropy
+ stsci.distutils
+ stsci.ndimage
+ stsci.convolve
+ stsci.tools
+ numpy
+ setuptools
+ python
+run :
+ astropy
+ stsci.ndimage
+ stsci.convolve
+ stsci.tools
+ numpy
+ python
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+ pip install --no-deps --upgrade --force d2to1
+ python setup.py install || exit 1
+
+windows :
+ python setup.py install
+ 2to3 -w .
+ if errorlevel 1 exit 1
+
diff --git a/stsci/stsci.ini b/stsci/stsci.ini
new file mode 100644
index 0000000..4d17ebf
--- /dev/null
+++ b/stsci/stsci.ini
@@ -0,0 +1,84 @@
+[package]
+name : stsci
+version : 0.1
+
+[about]
+home : http://stsci.edu
+license : BSD
+summary : ${package:name} meta-package
+
+[source]
+#fn : ${package:name}-${package:version}.tar.gz
+#url : ${about:home}/${fn}
+
+[build]
+number : 0
+
+[requirements]
+build :
+ ${requirements:run}
+run :
+ #STScI
+ acstools
+ asdf-standard
+ astrolib.coords
+ astropy
+ astropy-helpers
+ calcos
+ cfitsio
+ d2to1
+ drizzle [py27]
+ ds9
+ fftw
+ fitsblender
+ hstcal
+ htc_utils
+ imexam
+ nictools
+ photutils
+ poppy
+ purge_path
+ pyasdf
+ pydrizzle
+ pyfftw
+ pyfits
+ #pyqtgraph #issues with building
+ pysynphot [py27]
+ pywcs
+ reftools [py27]
+ stistools
+ stsci.convolve
+ stsci.distutils
+ stsci.image
+ stsci.imagemanip
+ stsci.imagestats
+ stsci.ndimage
+ stsci.sphinxext
+ stsci.stimage
+ stsci.tools
+ stwcs
+
+ webbpsf
+ wfpc2tools
+ wfc3tools
+
+
+ #3rd-party
+ atlas-generic
+ sextractor-generic
+
+ #Standard
+ anaconda
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+ echo "meta-package"
+
+windows :
+ echo "meta-package"
diff --git a/wfc3tools/wfc3tools.ini b/wfc3tools/wfc3tools.ini
new file mode 100644
index 0000000..ac16558
--- /dev/null
+++ b/wfc3tools/wfc3tools.ini
@@ -0,0 +1,49 @@
+[package]
+name : wfc3tools
+version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home : http://
+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
+ stsci.distutils
+ stsci.tools
+ pyfits
+ setuptools
+ python
+run :
+ stsci.tools
+ pyfits
+ python
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+ #d2to1 hack active
+ pip install --no-deps --upgrade --force d2to1 || exit 1
+
+ python setup.py install || exit 1
+
+windows :
+ # d2to1 hack active
+ pip install --no-deps --upgrade --force d2to1
+ if errorlevel 1 exit 1
+
+ python setup.py install
+ if errorlevel 1 exit 1
+
diff --git a/wfpc2tools/wfpc2tools.ini b/wfpc2tools/wfpc2tools.ini
new file mode 100644
index 0000000..512212f
--- /dev/null
+++ b/wfpc2tools/wfpc2tools.ini
@@ -0,0 +1,79 @@
+[package]
+name : wfpc2tools
+version : {{ environ.get("GIT_DESCRIBE_TAG", "0.0.0") }}.git
+
+[about]
+home : http://
+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
+ stsci.distutils
+ stsci.imagestats
+ stsci.ndimage
+ stsci.tools
+ pyfits
+ setuptools
+ python
+run :
+ stsci.imagestats
+ stsci.ndimage
+ stsci.tools
+ pyfits
+ python
+
+[test]
+imports :
+
+commands :
+
+
+[cbc_build]
+linux :
+ function get_py_version() {
+ python --version 2>&1| awk '{sub(/-.*/,"",$$2);print $$2}'
+ }
+ export -f get_py_version
+
+ function set_py3k() {
+ version=`get_py_version`
+ major=`echo $$version | cut -d '.' -f 1`
+ minor=`echo $$version | cut -d '.' -f 2`
+ hotfix=`echo $$version | cut -d '.' -f 3`
+ if (( major > 2 )); then
+ export PY3K=1
+ else
+ export PY3K=0
+ fi
+ }
+ export -f set_py3k
+
+ set_py3k
+
+ #d2to1 hack active
+ pip install --no-deps --upgrade --force d2to1 || exit 1
+
+ echo "This doesn't work. Why conda why? --python 2.7 is useless here"
+ if [ $$PY3K -ne 0 ] ; then
+ sed -i -e "s|stsci.distutils.hooks.tag_svn_revision|#removed|" setup.cfg
+ 2to3 -w .
+ fi
+
+ python setup.py install || exit 1
+
+windows :
+ # d2to1 hack active
+ pip install --no-deps --upgrade --force d2to1
+ if errorlevel 1 exit 1
+
+ python setup.py install
+ if errorlevel 1 exit 1
+