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.yaml15
3 files changed, 10 insertions, 10 deletions
diff --git a/astroimtools/bld.bat b/astroimtools/bld.bat
index c50c85a..760380e 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
diff --git a/astroimtools/build.sh b/astroimtools/build.sh
index b875087..6bd6081 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
diff --git a/astroimtools/meta.yaml b/astroimtools/meta.yaml
index 7e0cf80..9e1c029 100644
--- a/astroimtools/meta.yaml
+++ b/astroimtools/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'astroimtools' %}
-{% 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 }}
@@ -22,15 +23,15 @@ requirements:
- cython
- matplotlib
- setuptools
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- astropy
- cython
- matplotlib
- numpy
- - python x.x
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git