summaryrefslogtreecommitdiff
path: root/spectral-cube
diff options
context:
space:
mode:
Diffstat (limited to 'spectral-cube')
-rw-r--r--spectral-cube/bld.bat2
-rw-r--r--spectral-cube/build.sh2
-rw-r--r--spectral-cube/meta.yaml42
3 files changed, 46 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..8ed054d
--- /dev/null
+++ b/spectral-cube/meta.yaml
@@ -0,0 +1,42 @@
+{% set name = 'spectral-cube' %}
+{% set version = 'v0.4.1' %}
+{% set tag = version %}
+{% 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_tag: {{ tag }}
+ git_url: https://github.com/radio-astro-tools/{{ name }}.git
+
+test:
+ imports:
+ - spectral_cube