summaryrefslogtreecommitdiff
path: root/stginga
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 /stginga
parentebe4788bd2ee01f8b991f02d1665db3d87cc383d (diff)
parente027b0e371ddedc4377b43b425d2f67282ff45b7 (diff)
downloadastroconda-contrib-d4ccb57a335dfda4b3583107767a081691352b2f.tar.gz
Merge branch 'master' into patch-3
Diffstat (limited to 'stginga')
-rw-r--r--stginga/bld.bat3
-rw-r--r--stginga/build.sh2
-rw-r--r--stginga/meta.yaml11
3 files changed, 9 insertions, 7 deletions
diff --git a/stginga/bld.bat b/stginga/bld.bat
index b290566..760380e 100644
--- a/stginga/bld.bat
+++ b/stginga/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/stginga/build.sh b/stginga/build.sh
index 4b71885..56f0b30 100644
--- a/stginga/build.sh
+++ b/stginga/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/stginga/meta.yaml b/stginga/meta.yaml
index 4f913ac..9bfcd0d 100644
--- a/stginga/meta.yaml
+++ b/stginga/meta.yaml
@@ -1,7 +1,10 @@
{% set name = 'stginga' %}
{% set version = '0.2.1' %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
{% set tag = version %}
-{% set number = '0' %}
+{% set number = '1' %}
about:
home: https://github.com/spacetelescope/{{ name }}
@@ -19,16 +22,16 @@ requirements:
build:
- ginga >=2.6.2
- astropy >=1.2
- - numpy
+ - numpy {{ numpy }}
- scipy
- setuptools
- - python x.x
+ - python {{ python }}
run:
- ginga >=2.6.2
- astropy >=1.2
- numpy
- scipy
- - python x.x
+ - python
source:
git_tag: {{ tag }}