summaryrefslogtreecommitdiff
path: root/gwcs
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 /gwcs
parentebe4788bd2ee01f8b991f02d1665db3d87cc383d (diff)
parente027b0e371ddedc4377b43b425d2f67282ff45b7 (diff)
downloadastroconda-contrib-d4ccb57a335dfda4b3583107767a081691352b2f.tar.gz
Merge branch 'master' into patch-3
Diffstat (limited to 'gwcs')
-rw-r--r--gwcs/bld.bat3
-rw-r--r--gwcs/build.sh2
-rw-r--r--gwcs/meta.yaml11
3 files changed, 9 insertions, 7 deletions
diff --git a/gwcs/bld.bat b/gwcs/bld.bat
index b290566..760380e 100644
--- a/gwcs/bld.bat
+++ b/gwcs/bld.bat
@@ -1,3 +1,2 @@
-python setup.py install
-if errorlevel 1 exit 1 \ No newline at end of file
+%PYTHON% setup.py install
diff --git a/gwcs/build.sh b/gwcs/build.sh
index 4b71885..56f0b30 100644
--- a/gwcs/build.sh
+++ b/gwcs/build.sh
@@ -1,2 +1,2 @@
-python setup.py install || exit 1 \ No newline at end of file
+$PYTHON setup.py install \ No newline at end of file
diff --git a/gwcs/meta.yaml b/gwcs/meta.yaml
index 71bc449..13d3ff2 100644
--- a/gwcs/meta.yaml
+++ b/gwcs/meta.yaml
@@ -1,6 +1,9 @@
{% set name = 'gwcs' %}
{% set version = '0.8.0' %}
-{% set number = '0' %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '1' %}
about:
home: https://github.com/spacetelescope/{{ name }}
@@ -19,13 +22,13 @@ requirements:
- asdf
- astropy >=2.0
- setuptools
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- asdf
- astropy >=2.0
- numpy
- - python x.x
+ - python
source:
git_tag: {{ version }}