summaryrefslogtreecommitdiff
path: root/astroimtools
diff options
context:
space:
mode:
Diffstat (limited to 'astroimtools')
-rw-r--r--astroimtools/bld.bat3
-rw-r--r--astroimtools/build.sh2
-rw-r--r--astroimtools/meta.yaml11
3 files changed, 9 insertions, 7 deletions
diff --git a/astroimtools/bld.bat b/astroimtools/bld.bat
index c50c85a..00f8037 100644
--- a/astroimtools/bld.bat
+++ b/astroimtools/bld.bat
@@ -1,3 +1,2 @@
-python setup.py install --offline
-if errorlevel 1 exit 1 \ No newline at end of file
+%PYTHON% setup.py install --offline
diff --git a/astroimtools/build.sh b/astroimtools/build.sh
index b875087..ca28bfc 100644
--- a/astroimtools/build.sh
+++ b/astroimtools/build.sh
@@ -1,2 +1,2 @@
-python setup.py install --offline || exit 1 \ No newline at end of file
+$PYTHON setup.py install --offline \ No newline at end of file
diff --git a/astroimtools/meta.yaml b/astroimtools/meta.yaml
index 520d4d7..a3355c5 100644
--- a/astroimtools/meta.yaml
+++ b/astroimtools/meta.yaml
@@ -1,7 +1,10 @@
{% set name = 'astroimtools' %}
{% set version = '0.1.1' %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
{% set tag = 'v' + version %}
-{% set number = '1' %}
+{% set number = '2' %}
about:
home: https://github.com/spacetelescope/{{ name }}
@@ -21,14 +24,14 @@ requirements:
- cython
- matplotlib
- setuptools
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- astropy >=1.1
- cython
- matplotlib
- numpy
- - python x.x
+ - python
source:
git_tag: {{ tag }}