diff options
Diffstat (limited to 'jwst_gtvt')
-rw-r--r-- | jwst_gtvt/meta.yaml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/jwst_gtvt/meta.yaml b/jwst_gtvt/meta.yaml index b3931d4..ae4d1d5 100644 --- a/jwst_gtvt/meta.yaml +++ b/jwst_gtvt/meta.yaml @@ -1,8 +1,9 @@ {% set name = 'jwst_gtvt' %} -{% 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/{{ name }} @@ -22,9 +23,9 @@ requirements: build: - astropy - matplotlib - - numpy + - numpy {{ numpy }} - setuptools - - python + - python {{ python }} run: - astropy |