diff options
Diffstat (limited to 'costools')
-rw-r--r-- | costools/bld.bat | 8 | ||||
-rw-r--r-- | costools/build.sh | 5 | ||||
-rw-r--r-- | costools/meta.yaml | 11 |
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 }} |