diff options
-rw-r--r-- | astroquery/bld.bat | 2 | ||||
-rw-r--r-- | astroquery/build.sh | 1 | ||||
-rw-r--r-- | astroquery/meta.yaml | 47 |
3 files changed, 50 insertions, 0 deletions
diff --git a/astroquery/bld.bat b/astroquery/bld.bat new file mode 100644 index 0000000..85a7bc3 --- /dev/null +++ b/astroquery/bld.bat @@ -0,0 +1,2 @@ +%PYTHON% setup.py install +if errorlevel 1 exit 1 diff --git a/astroquery/build.sh b/astroquery/build.sh new file mode 100644 index 0000000..5a5aeeb --- /dev/null +++ b/astroquery/build.sh @@ -0,0 +1 @@ +$PYTHON setup.py install diff --git a/astroquery/meta.yaml b/astroquery/meta.yaml new file mode 100644 index 0000000..9966388 --- /dev/null +++ b/astroquery/meta.yaml @@ -0,0 +1,47 @@ +{% set name = 'astroquery' %} +{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0") + +".dev" + +environ.get("GIT_DESCRIBE_NUMBER", "0") %} +{% if version[0] == 'v' %} +{% set version = version[1:] %} +{% endif %} +{% set number = '0' %} + +about: + home: https://github.com/astropy/{{ name }} + license: BSD + summary: Astroquery is a set of tools for querying astronomical web forms and databases. + +package: + name: {{ name }} + version: {{ version }} + +source: + git_url: https://github.com/astropy/{{ name }} + +build: + number: {{ number }} + +requirements: + build: + - astropy + - requests + - keyring + - beautifulsoup4 + - html5lib + - secretstorage [linux] + - setuptools + - python + + run: + - astropy + - requests + - keyring + - beautifulsoup4 + - html5lib + - secretstorage [linux] + - python + +test: + imports: + - astroquery.simbad |