summaryrefslogtreecommitdiff
path: root/pysynphot
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2018-02-22 08:53:06 -0500
committerGitHub <noreply@github.com>2018-02-22 08:53:06 -0500
commitd4ccb57a335dfda4b3583107767a081691352b2f (patch)
tree43dd1892560bcc467c5eaf1373390cefe4707acd /pysynphot
parentebe4788bd2ee01f8b991f02d1665db3d87cc383d (diff)
parente027b0e371ddedc4377b43b425d2f67282ff45b7 (diff)
downloadastroconda-contrib-d4ccb57a335dfda4b3583107767a081691352b2f.tar.gz
Merge branch 'master' into patch-3
Diffstat (limited to 'pysynphot')
-rw-r--r--pysynphot/bld.bat3
-rw-r--r--pysynphot/build.sh2
-rw-r--r--pysynphot/meta.yaml11
3 files changed, 9 insertions, 7 deletions
diff --git a/pysynphot/bld.bat b/pysynphot/bld.bat
index 8d766c9..760380e 100644
--- a/pysynphot/bld.bat
+++ b/pysynphot/bld.bat
@@ -1,3 +1,2 @@
-python setup.py install
-if errorlevel 1 exit 1
+%PYTHON% setup.py install
diff --git a/pysynphot/build.sh b/pysynphot/build.sh
index 535529d..6bd6081 100644
--- a/pysynphot/build.sh
+++ b/pysynphot/build.sh
@@ -1,2 +1,2 @@
-python setup.py install || exit 1
+$PYTHON setup.py install
diff --git a/pysynphot/meta.yaml b/pysynphot/meta.yaml
index d9e5817..93a02df 100644
--- a/pysynphot/meta.yaml
+++ b/pysynphot/meta.yaml
@@ -1,6 +1,9 @@
{% set name = 'pysynphot' %}
{% set version = '0.9.8.8' %}
-{% set number = '0' %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '1' %}
about:
home: https://github.com/spacetelescope/{{ name }}
@@ -14,15 +17,15 @@ package:
requirements:
build:
- astropy >=1.1
- - numpy
+ - numpy {{ numpy }}
- pytest
- - python x.x
+ - python {{ python }}
- setuptools
run:
- astropy >=1.1
- numpy
- pytest
- - python x.x
+ - python
source:
git_tag: {{ version }}
git_url: https://github.com/spacetelescope/{{ name }}.git