summaryrefslogtreecommitdiff
path: root/acstools
diff options
context:
space:
mode:
Diffstat (limited to 'acstools')
-rw-r--r--acstools/bld.bat4
-rw-r--r--acstools/build.sh2
-rw-r--r--acstools/meta.yaml15
3 files changed, 10 insertions, 11 deletions
diff --git a/acstools/bld.bat b/acstools/bld.bat
index 726b367..7fba400 100644
--- a/acstools/bld.bat
+++ b/acstools/bld.bat
@@ -1,5 +1,3 @@
-if errorlevel 1 exit 1
-python setup.py install || exit 1
-if errorlevel 1 exit 1 \ No newline at end of file
+%PYTHON% setup.py install
diff --git a/acstools/build.sh b/acstools/build.sh
index 4b71885..6bd6081 100644
--- a/acstools/build.sh
+++ b/acstools/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/acstools/meta.yaml b/acstools/meta.yaml
index e87be19..47b8bb2 100644
--- a/acstools/meta.yaml
+++ b/acstools/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'acstools' %}
-{% 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 }}
@@ -19,13 +20,13 @@ package:
requirements:
build:
- astropy >=1.1
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- astropy >=1.1
- numpy
- - python x.x
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git