diff options
Diffstat (limited to 'spherical-geometry')
-rw-r--r-- | spherical-geometry/bld.bat | 2 | ||||
-rw-r--r-- | spherical-geometry/build.sh | 2 | ||||
-rw-r--r-- | spherical-geometry/meta.yaml | 15 |
3 files changed, 10 insertions, 9 deletions
diff --git a/spherical-geometry/bld.bat b/spherical-geometry/bld.bat index 762d43b..39b5e1f 100644 --- a/spherical-geometry/bld.bat +++ b/spherical-geometry/bld.bat @@ -1 +1 @@ -python setup.py install +%PYTHON% setup.py install diff --git a/spherical-geometry/build.sh b/spherical-geometry/build.sh index 762d43b..5a5aeeb 100644 --- a/spherical-geometry/build.sh +++ b/spherical-geometry/build.sh @@ -1 +1 @@ -python setup.py install +$PYTHON setup.py install diff --git a/spherical-geometry/meta.yaml b/spherical-geometry/meta.yaml index 7ee5167..ae12b32 100644 --- a/spherical-geometry/meta.yaml +++ b/spherical-geometry/meta.yaml @@ -1,9 +1,10 @@ {% set name = 'spherical-geometry' %} {% set reponame = 'spherical_geometry' %} -{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0") - +".dev" - +environ.get("GIT_DESCRIBE_NUMBER", "0") %} -{% set number = '0' %} +{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set number = '1' %} about: home: https://github.com/spacetelescope/{{ reponame }} @@ -22,14 +23,14 @@ requirements: - astropy - matplotlib - setuptools - - numpy - - python x.x + - numpy {{ numpy }} + - python {{ python }} run: - astropy - matplotlib - numpy - - python x.x + - python source: git_url: https://github.com/spacetelescope/{{ reponame }}.git |