diff options
| -rw-r--r-- | hstaxe/bld.bat | 1 | ||||
| -rw-r--r-- | hstaxe/build.sh | 3 | ||||
| -rw-r--r-- | hstaxe/meta.yaml | 50 | 
3 files changed, 54 insertions, 0 deletions
| diff --git a/hstaxe/bld.bat b/hstaxe/bld.bat new file mode 100644 index 0000000..6d5f099 --- /dev/null +++ b/hstaxe/bld.bat @@ -0,0 +1 @@ +%PYTHON% setup.py install --single-version-externally-managed --record=root.txt diff --git a/hstaxe/build.sh b/hstaxe/build.sh new file mode 100644 index 0000000..8bc9f95 --- /dev/null +++ b/hstaxe/build.sh @@ -0,0 +1,3 @@ +set -x +export PKG_CONFIG_PATH="$CONDA_PREFIX/lib/pkgconfig" +$PYTHON setup.py install --single-version-externally-managed --record=root.txt diff --git a/hstaxe/meta.yaml b/hstaxe/meta.yaml new file mode 100644 index 0000000..adf42a4 --- /dev/null +++ b/hstaxe/meta.yaml @@ -0,0 +1,50 @@ +{% set name = 'hstaxe' %} +{% set version = '1.0.0' %} +{% set number = '0' %} + +about: +    home: https://github.com/spacetelescope/{{ name }} +    license: BSD +    summary: | +        Spectral extraction tools for Hubble Space Telescope Grisms +        Based on the original aXe package. + +build: +    number: {{ number }} + +package: +    name: {{ name }} +    version: {{ version }} + +requirements: +    build: +    - setuptools +    - setuptools_scm +    - autoconf +    - automake +    - libtool +    - pkg-config +    - make +    - numpy {{ numpy }} +    - cfitsio +    - gsl +    - wcstools +    - python {{ python }} +    run: +    - numpy +    - astropy +    - cfitsio +    - gsl +    - stwcs +    - stsci.imagestats +    - drizzlepac +    - drizzle +    - wcstools + +source: +    git_tag: {{ version }} +    git_url: https://github.com/spacetelescope/{{ name }}.git + +test: +    imports: +    - hstaxe | 
