summaryrefslogtreecommitdiff
path: root/stsci.numdisplay
diff options
context:
space:
mode:
Diffstat (limited to 'stsci.numdisplay')
-rw-r--r--stsci.numdisplay/bld.bat8
-rw-r--r--stsci.numdisplay/build.sh5
-rw-r--r--stsci.numdisplay/meta.yaml11
3 files changed, 9 insertions, 15 deletions
diff --git a/stsci.numdisplay/bld.bat b/stsci.numdisplay/bld.bat
index 2096589..39b5e1f 100644
--- a/stsci.numdisplay/bld.bat
+++ b/stsci.numdisplay/bld.bat
@@ -1,7 +1 @@
-
-echo This d2to1 hack is deadly.
-pip install --no-deps --upgrade --force d2to1
-if errorlevel 1 exit 1
-
-python setup.py install
-if errorlevel 1 exit 1 \ No newline at end of file
+%PYTHON% setup.py install
diff --git a/stsci.numdisplay/build.sh b/stsci.numdisplay/build.sh
index 5e8b365..5a5aeeb 100644
--- a/stsci.numdisplay/build.sh
+++ b/stsci.numdisplay/build.sh
@@ -1,4 +1 @@
-
-echo This d2to1 hack is deadly.
-pip install --no-deps --upgrade --force d2to1 || exit 1
-python setup.py install || exit 1 \ No newline at end of file
+$PYTHON setup.py install
diff --git a/stsci.numdisplay/meta.yaml b/stsci.numdisplay/meta.yaml
index bff5b99..7dc17ae 100644
--- a/stsci.numdisplay/meta.yaml
+++ b/stsci.numdisplay/meta.yaml
@@ -1,6 +1,9 @@
{% set name = 'stsci.numdisplay' %}
{% set version = '1.6.1' %}
-{% set number = '1' %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '2' %}
about:
home: https://github.com/spacetelescope/{{ name }}
@@ -19,14 +22,14 @@ package:
requirements:
build:
- d2to1
- - numpy
+ - numpy {{ numpy }}
- stsci.tools
- setuptools
- - python x.x
+ - python {{ python }}
run:
- numpy
- stsci.tools
- - python x.x
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git