diff options
Diffstat (limited to 'astropy')
-rw-r--r-- | astropy/bld.bat | 3 | ||||
-rw-r--r-- | astropy/build.sh | 2 | ||||
-rw-r--r-- | astropy/meta.yaml | 23 |
3 files changed, 16 insertions, 12 deletions
diff --git a/astropy/bld.bat b/astropy/bld.bat index c50c85a..760380e 100644 --- a/astropy/bld.bat +++ b/astropy/bld.bat @@ -1,3 +1,2 @@ -python setup.py install --offline -if errorlevel 1 exit 1
\ No newline at end of file +%PYTHON% setup.py install diff --git a/astropy/build.sh b/astropy/build.sh index 762d43b..5a5aeeb 100644 --- a/astropy/build.sh +++ b/astropy/build.sh @@ -1 +1 @@ -python setup.py install +$PYTHON setup.py install diff --git a/astropy/meta.yaml b/astropy/meta.yaml index 1844182..dc1c88b 100644 --- a/astropy/meta.yaml +++ b/astropy/meta.yaml @@ -1,6 +1,10 @@ {% set name = 'astropy' %} -{% set version = '3.0.dev' + environ.get("GIT_DESCRIBE_NUMBER", "0") %} -{% set number = '0' %} +{% set version = "3.0.0.dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set commit = '76c58d4b8d7baa6641a114c3927b2464805e1a09' %} +{% set number = '1' %} about: home: https://github.com/astropy/{{ name }} @@ -8,7 +12,7 @@ about: summary: Astropy is a package intended to contain much of the core functionality and some common tools needed for performing astronomy and astrophysics with Python. build: - skip: True [py27] + skip: True [py27 or py33 or py34] number: {{ number }} package: @@ -21,12 +25,11 @@ requirements: - jinja2 - pytest - setuptools - - numpy x.x - - python x.x + - numpy {{ numpy }} + - python {{ python }} run: - - beautiful-soup [py27 or py34] - - beautifulsoup4 [py>=35] + - beautifulsoup4 - cython - h5py - ipython @@ -39,10 +42,11 @@ requirements: - pyyaml - scikit-image - scipy - - numpy x.x - - python x.x + - numpy + - python source: + git_rev: {{ commit }} git_url: https://github.com/astropy/{{ name }}.git test: @@ -56,3 +60,4 @@ test: - wcslint --help imports: - astropy + |