diff options
author | P. L. Lim <lim@stsci.edu> | 2017-01-11 12:36:07 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2017-01-11 12:36:07 -0500 |
commit | c1bf9df971ca94fb3bab882f033b00722c09957a (patch) | |
tree | 94dfe6e340563813f9d8ed9935e8998a5dc4dc67 /synphot | |
parent | 82d3b99d0cc6034344f199c3256dd711951b65c1 (diff) | |
download | astroconda-contrib-c1bf9df971ca94fb3bab882f033b00722c09957a.tar.gz |
[EXP] Add refactored synphot and stsynphot (#123)
* Added recipes for Astropy version of pysynphot split into 2 packages
* Bumped synphot to 0.1b3
Diffstat (limited to 'synphot')
-rw-r--r-- | synphot/bld.bat | 2 | ||||
-rw-r--r-- | synphot/build.sh | 1 | ||||
-rw-r--r-- | synphot/meta.yaml | 32 |
3 files changed, 35 insertions, 0 deletions
diff --git a/synphot/bld.bat b/synphot/bld.bat new file mode 100644 index 0000000..98bf5c5 --- /dev/null +++ b/synphot/bld.bat @@ -0,0 +1,2 @@ +python setup.py install || exit 1 +if errorlevel 1 exit 1 diff --git a/synphot/build.sh b/synphot/build.sh new file mode 100644 index 0000000..5c61be1 --- /dev/null +++ b/synphot/build.sh @@ -0,0 +1 @@ +python setup.py install || exit 1 diff --git a/synphot/meta.yaml b/synphot/meta.yaml new file mode 100644 index 0000000..0ad2540 --- /dev/null +++ b/synphot/meta.yaml @@ -0,0 +1,32 @@ +{% set reponame = 'synphot_refactor' %} +{% set name = 'synphot' %} +{% set version = '0.1b3' %} +{% set number = '0' %} + +about: + home: https://github.com/spacetelescope/{{ reponame }} + license: BSD + summary: Synthetic photometry using Astropy +build: + number: {{ number }} +package: + name: {{ name }} + version: {{ version }} +requirements: + build: + - astropy >=1.3 + - scipy >= 0.14 + - numpy x.x + - setuptools + - python x.x + run: + - astropy >=1.3 + - scipy >= 0.14 + - numpy x.x + - python x.x +source: + git_tag: {{ version }} + git_url: https://github.com/spacetelescope/{{ reponame }}.git +test: + imports: + - synphot |