summaryrefslogtreecommitdiff
path: root/gwcs
diff options
context:
space:
mode:
Diffstat (limited to 'gwcs')
-rw-r--r--gwcs/bld.bat3
-rw-r--r--gwcs/build.sh2
-rw-r--r--gwcs/meta.yaml15
3 files changed, 10 insertions, 10 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..6bd6081 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
diff --git a/gwcs/meta.yaml b/gwcs/meta.yaml
index 8417966..a5b2746 100644
--- a/gwcs/meta.yaml
+++ b/gwcs/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'gwcs' %}
-{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
- +".dev"
- +environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% set number = '1' %}
+{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '2' %}
about:
home: https://github.com/spacetelescope/{{ name }}
@@ -21,14 +22,14 @@ requirements:
- asdf
- astropy
- setuptools
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- asdf
- astropy
- numpy
- - python x.x
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git