summaryrefslogtreecommitdiff
path: root/asv
diff options
context:
space:
mode:
Diffstat (limited to 'asv')
-rw-r--r--asv/bld.bat3
-rw-r--r--asv/build.sh2
-rw-r--r--asv/meta.yaml11
3 files changed, 9 insertions, 7 deletions
diff --git a/asv/bld.bat b/asv/bld.bat
index b290566..760380e 100644
--- a/asv/bld.bat
+++ b/asv/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/asv/build.sh b/asv/build.sh
index fc8c75d..5033d2f 100644
--- a/asv/build.sh
+++ b/asv/build.sh
@@ -1,3 +1,3 @@
pip install --force sphinx_bootstrap_theme
-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/asv/meta.yaml b/asv/meta.yaml
index deda973..9c974be 100644
--- a/asv/meta.yaml
+++ b/asv/meta.yaml
@@ -1,7 +1,10 @@
{% set name = 'asv' %}
{% 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,13 +24,13 @@ requirements:
- six
- sphinx
- setuptools
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- six
- sphinx
- numpy
- - python x.x
+ - python
source:
git_tag: {{ tag }}