diff options
| -rw-r--r-- | spectral-cube/bld.bat | 2 | ||||
| -rw-r--r-- | spectral-cube/build.sh | 2 | ||||
| -rw-r--r-- | spectral-cube/meta.yaml | 40 | 
3 files changed, 44 insertions, 0 deletions
diff --git a/spectral-cube/bld.bat b/spectral-cube/bld.bat new file mode 100644 index 0000000..760380e --- /dev/null +++ b/spectral-cube/bld.bat @@ -0,0 +1,2 @@ + +%PYTHON% setup.py install diff --git a/spectral-cube/build.sh b/spectral-cube/build.sh new file mode 100644 index 0000000..6bd6081 --- /dev/null +++ b/spectral-cube/build.sh @@ -0,0 +1,2 @@ + +$PYTHON setup.py install diff --git a/spectral-cube/meta.yaml b/spectral-cube/meta.yaml new file mode 100644 index 0000000..0f69bcf --- /dev/null +++ b/spectral-cube/meta.yaml @@ -0,0 +1,40 @@ +{% set name = 'spectral-cube' %} +{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %} +{% if version[0] == 'v' %} +{%   set version = version[1:] %} +{% endif %} +{% set number = '0' %} + +about: +    home: https://github.com/radio-astro-tools/{{ name }} +    license: BSD +    summary: Library for reading and analyzing astrophysical spectral data cubes + +build: +    number: {{ number }} + +package: +    name: {{ name }} +    version: {{ version }} + +requirements: +    build: +    - astropy +    - numpy {{ numpy }} +    - radio-beam +    - setuptools +    - python {{ python }} + +    run: +    - astropy +    - numpy +    - radio-beam +    - setuptools +    - python + +source: +    git_url: https://github.com/radio-astro-tools/{{ name }}.git + +test: +    imports: +    - spectral_cube  | 
