diff options
36 files changed, 143 insertions, 12 deletions
diff --git a/astroimtools/astroimtools.ini b/astroimtools/astroimtools.ini index 119ac99..372c1b9 100644 --- a/astroimtools/astroimtools.ini +++ b/astroimtools/astroimtools.ini @@ -26,6 +26,14 @@ run: astropy >=1.1 python +[test] +imports: + astroimtools + +commands: + imarith --help + imstats --help + [cbc_build] linux: python setup.py install --offline || exit 1 diff --git a/astrolib.coords/astrolib.coords.ini b/astrolib.coords/astrolib.coords.ini index b46b11a..8779a33 100644 --- a/astrolib.coords/astrolib.coords.ini +++ b/astrolib.coords/astrolib.coords.ini @@ -20,15 +20,14 @@ build : setuptools numpy python + run : numpy python [test] imports : - -commands : - + astrolib.coords [cbc_build] linux : diff --git a/costools/costools.ini b/costools/costools.ini index 2d54529..3371555 100644 --- a/costools/costools.ini +++ b/costools/costools.ini @@ -24,10 +24,18 @@ build: setuptools run: astropy >=1.1 + calcos stsci.tools setuptools python +[test] +imports: + costools + +commands: + timefilter --help + [cbc_build] linux: echo This d2to1 hack is deadly. diff --git a/crds/crds.ini b/crds/crds.ini index 17da6f5..c31b585 100644 --- a/crds/crds.ini +++ b/crds/crds.ini @@ -28,10 +28,8 @@ run: [test] imports: + crds -commands: - - [cbc_build] linux: diff --git a/cube-tools/cube-tools.ini b/cube-tools/cube-tools.ini index fb9bd37..01da8ba 100644 --- a/cube-tools/cube-tools.ini +++ b/cube-tools/cube-tools.ini @@ -17,6 +17,8 @@ number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} [requirements] build: + glueviz + specview setuptools python @@ -25,6 +27,10 @@ run: specview python +[test] +imports: + cube_tools + [cbc_build] linux: python setup.py install || exit 1 diff --git a/imutils/imutils.ini b/deprecated/imutils/imutils.ini index cd10124..cd10124 100644 --- a/imutils/imutils.ini +++ b/deprecated/imutils/imutils.ini diff --git a/drizzlepac/drizzlepac.ini b/drizzlepac/drizzlepac.ini index 48e8660..ac7999d 100644 --- a/drizzlepac/drizzlepac.ini +++ b/drizzlepac/drizzlepac.ini @@ -21,8 +21,10 @@ build: stwcs stsci.distutils stsci.imagestats + stsci.skypac stsci.stimage nictools + pyregion python setuptools run: @@ -32,10 +34,23 @@ run: stwcs nictools stsci.imagestats + stsci.skypac stsci.stimage + pyregion setuptools python +[test] +imports: + drizzlepac + +commands: + # cannot import AstroDrizzle - mdriz. um? + #mdriz --help + #resetbits --help + #runastrodriz --help + #updatenpol --help + [cbc_build] linux: echo This d2to1 hack is deadly. diff --git a/fitsblender/fitsblender.ini b/fitsblender/fitsblender.ini index a17d6d6..81ac55c 100644 --- a/fitsblender/fitsblender.ini +++ b/fitsblender/fitsblender.ini @@ -15,18 +15,20 @@ number : {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} [requirements] build : + d2to1 stsci.distutils + stsci.tools setuptools python - d2to1 run : - + stsci.tools python [test] imports : - + fitsblender commands : + #fitsblender --help [cbc_build] diff --git a/imexam/imexam.ini b/imexam/imexam.ini index e956467..15eb3a7 100644 --- a/imexam/imexam.ini +++ b/imexam/imexam.ini @@ -42,6 +42,12 @@ run: mock [py27] python +[test] +imports: + imexam + +commands: + [cbc_build] linux: echo This d2to1 hack is deadly. diff --git a/photutils/photutils.ini b/photutils/photutils.ini index 3aceb2d..e510cdd 100644 --- a/photutils/photutils.ini +++ b/photutils/photutils.ini @@ -31,6 +31,10 @@ run: setuptools python +[test] +imports: + photutils + [cbc_build] linux: echo This d2to1 hack is deadly. diff --git a/poppy/poppy.ini b/poppy/poppy.ini index 0821b75..db5e99d 100644 --- a/poppy/poppy.ini +++ b/poppy/poppy.ini @@ -41,6 +41,11 @@ run: setuptools python +[test] +imports: + # can't test, poppy __init__ accesses graphics... + #poppy + [cbc_build] linux: python setup.py install || exit 1 diff --git a/pyfftw/pyfftw.ini b/pyfftw/pyfftw.ini index ed620bd..989ce0f 100644 --- a/pyfftw/pyfftw.ini +++ b/pyfftw/pyfftw.ini @@ -28,6 +28,10 @@ run : fftw python +[test] +imports: + pyfftw + [cbc_build] linux : export CFLAGS="`pkg-config --cflags fftw3`" diff --git a/pyqtgraph/pyqtgraph.ini b/pyqtgraph/pyqtgraph.ini index fd83256..d3057d7 100644 --- a/pyqtgraph/pyqtgraph.ini +++ b/pyqtgraph/pyqtgraph.ini @@ -27,6 +27,10 @@ run: numpy python +[test] +imports: + pyqtgraph + [cbc_build] linux: python setup.py install || exit 1 diff --git a/pyraf/pyraf.ini b/pyraf/pyraf.ini index 75abece..d69d2fc 100644 --- a/pyraf/pyraf.ini +++ b/pyraf/pyraf.ini @@ -19,12 +19,18 @@ number : 0 build : d2to1 astropy >=1.1 + #pyobjc-core + #pyobjc-cocoa + #pyobjc-quartz stsci.distutils stsci.tools setuptools python run : astropy >=1.1 + #pyobjc-core + #pyobjc-cocoa + #pyobjc-quartz stsci.distutils stsci.tools python @@ -33,7 +39,7 @@ run : imports : commands : - + pyraf --help [cbc_build] linux : diff --git a/pyregion/pyregion.ini b/pyregion/pyregion.ini index e6f4f72..95cf43e 100644 --- a/pyregion/pyregion.ini +++ b/pyregion/pyregion.ini @@ -26,6 +26,10 @@ run: setuptools python +[test] +imports: + pyregion + [cbc_build] linux: echo This d2to1 hack is deadly. diff --git a/pysynphot/pysynphot.ini b/pysynphot/pysynphot.ini index b4e23fc..e3c6721 100644 --- a/pysynphot/pysynphot.ini +++ b/pysynphot/pysynphot.ini @@ -37,6 +37,10 @@ run: matplotlib python +[test] +imports: + pysynphot + [cbc_build] linux: echo This d2to1 hack is deadly. diff --git a/pywcs/pywcs.ini b/pywcs/pywcs.ini index 2f9fc4d..eb9dd40 100644 --- a/pywcs/pywcs.ini +++ b/pywcs/pywcs.ini @@ -31,6 +31,10 @@ run: numpy python +[test] +imports: + pywcs + [cbc_build] linux: echo This d2to1 hack is deadly. diff --git a/reftools/reftools.ini b/reftools/reftools.ini index 0b3ef60..172f3cd 100644 --- a/reftools/reftools.ini +++ b/reftools/reftools.ini @@ -41,6 +41,10 @@ run: numpy python +[test] +imports: + reftools + [cbc_build] linux: echo This d2to1 hack is deadly. diff --git a/specview/specview.ini b/specview/specview.ini index 8ffe2ef..828775f 100644 --- a/specview/specview.ini +++ b/specview/specview.ini @@ -32,6 +32,10 @@ run: pyqtgraph python +[test] +imports: + specview + [cbc_build] linux: python setup.py install --offline || exit 1 diff --git a/stsci.convolve/stsci.convolve.ini b/stsci.convolve/stsci.convolve.ini index ed5fb6c..e789d50 100644 --- a/stsci.convolve/stsci.convolve.ini +++ b/stsci.convolve/stsci.convolve.ini @@ -27,6 +27,9 @@ run: numpy python +[test] +imports: + stsci.convolve [cbc_build] linux: diff --git a/stsci.distutils/stsci.distutils.ini b/stsci.distutils/stsci.distutils.ini index ca8b41c..81c9b81 100644 --- a/stsci.distutils/stsci.distutils.ini +++ b/stsci.distutils/stsci.distutils.ini @@ -22,6 +22,9 @@ run: nose python +[test] +imports: + stsci.distutils [cbc_build] linux: diff --git a/stsci.image/stsci.image.ini b/stsci.image/stsci.image.ini index e35cba9..4724efc 100644 --- a/stsci.image/stsci.image.ini +++ b/stsci.image/stsci.image.ini @@ -35,6 +35,9 @@ run: numpy python +[test] +imports: + stsci.image [cbc_build] linux: diff --git a/stsci.imagemanip/stsci.imagemanip.ini b/stsci.imagemanip/stsci.imagemanip.ini index 6a03c78..20b49ee 100644 --- a/stsci.imagemanip/stsci.imagemanip.ini +++ b/stsci.imagemanip/stsci.imagemanip.ini @@ -36,6 +36,9 @@ run: numpy python +[test] +imports: + stsci.imagemanip [cbc_build] linux: diff --git a/stsci.imagestats/stsci.imagestats.ini b/stsci.imagestats/stsci.imagestats.ini index 7a51c9b..783d3e0 100644 --- a/stsci.imagestats/stsci.imagestats.ini +++ b/stsci.imagestats/stsci.imagestats.ini @@ -39,6 +39,9 @@ run: numpy python +[test] +imports: + stsci.imagestats [cbc_build] linux: diff --git a/stsci.ndimage/stsci.ndimage.ini b/stsci.ndimage/stsci.ndimage.ini index 0e0e73b..763a20c 100644 --- a/stsci.ndimage/stsci.ndimage.ini +++ b/stsci.ndimage/stsci.ndimage.ini @@ -29,6 +29,9 @@ run: numpy python +[test] +imports: + stsci.ndimage [cbc_build] linux: diff --git a/stsci.numdisplay/stsci.numdisplay.ini b/stsci.numdisplay/stsci.numdisplay.ini index e66e329..7fcdd5a 100644 --- a/stsci.numdisplay/stsci.numdisplay.ini +++ b/stsci.numdisplay/stsci.numdisplay.ini @@ -31,6 +31,9 @@ run: numpy python +[test] +imports: + stsci.numdisplay [cbc_build] linux: diff --git a/stsci.skypac/stsci.skypac.ini b/stsci.skypac/stsci.skypac.ini index 3df97c1..298d9d3 100644 --- a/stsci.skypac/stsci.skypac.ini +++ b/stsci.skypac/stsci.skypac.ini @@ -19,18 +19,21 @@ preserve_egg_dir: yes [requirements] build : + astropy >=1.1 stsci.distutils stsci.sphere - astropy >=1.1 + stsci.tools setuptools python run : astropy >=1.1 stsci.sphere + stsci.tools python [test] imports : + stsci.skypac commands : diff --git a/stsci.sphere/stsci.sphere.ini b/stsci.sphere/stsci.sphere.ini index 844599f..ceed749 100644 --- a/stsci.sphere/stsci.sphere.ini +++ b/stsci.sphere/stsci.sphere.ini @@ -29,6 +29,9 @@ run: numpy python +[test] +imports: + stsci.sphere [cbc_build] linux: diff --git a/stsci.sphinxext/stsci.sphinxext.ini b/stsci.sphinxext/stsci.sphinxext.ini index cfa7d68..b62b3a2 100644 --- a/stsci.sphinxext/stsci.sphinxext.ini +++ b/stsci.sphinxext/stsci.sphinxext.ini @@ -29,6 +29,9 @@ run: stsci.distutils python +[test] +imports: + stsci.sphinxext [cbc_build] linux: diff --git a/stsci.stimage/stsci.stimage.ini b/stsci.stimage/stsci.stimage.ini index 8ef5f5d..4451a75 100644 --- a/stsci.stimage/stsci.stimage.ini +++ b/stsci.stimage/stsci.stimage.ini @@ -28,6 +28,9 @@ run: numpy python +[test] +imports: + stsci.stimage [cbc_build] linux: diff --git a/stsci.tools/stsci.tools.ini b/stsci.tools/stsci.tools.ini index c1e64f4..ed1f827 100644 --- a/stsci.tools/stsci.tools.ini +++ b/stsci.tools/stsci.tools.ini @@ -33,6 +33,9 @@ run: numpy python +[test] +imports: + stsci.tools [cbc_build] linux: diff --git a/stwcs/stwcs.ini b/stwcs/stwcs.ini index d188c6a..476fec7 100644 --- a/stwcs/stwcs.ini +++ b/stwcs/stwcs.ini @@ -30,6 +30,7 @@ run : [test] imports : + stwcs commands : diff --git a/webbpsf-data/webbpsf-data.ini b/webbpsf-data/webbpsf-data.ini index 0a558fd..cb73d74 100644 --- a/webbpsf-data/webbpsf-data.ini +++ b/webbpsf-data/webbpsf-data.ini @@ -19,7 +19,6 @@ build: python run: - webbpsf python [cbc_build] diff --git a/webbpsf/webbpsf.ini b/webbpsf/webbpsf.ini index bd126db..2018a68 100644 --- a/webbpsf/webbpsf.ini +++ b/webbpsf/webbpsf.ini @@ -38,6 +38,14 @@ run: setuptools python +[test] +imports: + # Can't test properly. + #webbpsf + +commands: + WEBBPSF_PATH=$$PREFIX/share/webbpsf-data python -c 'import webbpsf' + [cbc_build] linux: python setup.py install || exit 1 diff --git a/wfc3tools/wfc3tools.ini b/wfc3tools/wfc3tools.ini index 765ac3d..45796d3 100644 --- a/wfc3tools/wfc3tools.ini +++ b/wfc3tools/wfc3tools.ini @@ -32,6 +32,7 @@ run : [test] imports : + wfc3tools commands : diff --git a/wfpc2tools/wfpc2tools.ini b/wfpc2tools/wfpc2tools.ini index 7b5f833..48e5e19 100644 --- a/wfpc2tools/wfpc2tools.ini +++ b/wfpc2tools/wfpc2tools.ini @@ -32,6 +32,7 @@ run : [test] imports : + wfpc2tools commands : |