summaryrefslogtreecommitdiff
path: root/costools
diff options
context:
space:
mode:
authorMatt Rendina <rendinam@users.noreply.github.com>2018-02-22 08:53:06 -0500
committerGitHub <noreply@github.com>2018-02-22 08:53:06 -0500
commitd4ccb57a335dfda4b3583107767a081691352b2f (patch)
tree43dd1892560bcc467c5eaf1373390cefe4707acd /costools
parentebe4788bd2ee01f8b991f02d1665db3d87cc383d (diff)
parente027b0e371ddedc4377b43b425d2f67282ff45b7 (diff)
downloadastroconda-contrib-d4ccb57a335dfda4b3583107767a081691352b2f.tar.gz
Merge branch 'master' into patch-3
Diffstat (limited to 'costools')
-rw-r--r--costools/bld.bat8
-rw-r--r--costools/build.sh5
-rw-r--r--costools/meta.yaml11
3 files changed, 9 insertions, 15 deletions
diff --git a/costools/bld.bat b/costools/bld.bat
index d1ddf28..39b5e1f 100644
--- a/costools/bld.bat
+++ b/costools/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 || exit 1
-if errorlevel 1 exit 1 \ No newline at end of file
+%PYTHON% setup.py install
diff --git a/costools/build.sh b/costools/build.sh
index 5e8b365..5a5aeeb 100644
--- a/costools/build.sh
+++ b/costools/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/costools/meta.yaml b/costools/meta.yaml
index 1d8b182..45a5a45 100644
--- a/costools/meta.yaml
+++ b/costools/meta.yaml
@@ -1,6 +1,9 @@
{% set name = 'costools' %}
{% set version = '1.2.1' %}
-{% set number = '1' %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '3' %}
about:
home: https://github.com/spacetelescope/{{ name }}
@@ -22,15 +25,15 @@ requirements:
- calcos
- stsci.tools
- setuptools
- - numpy
- - python x.x
+ - numpy {{ numpy }}
+ - python {{ python }}
run:
- astropy >=1.1
- calcos
- stsci.tools
- setuptools
- numpy
- - python x.x
+ - python
source:
git_tag: {{ version }}