summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cube-tools/build.sh2
-rw-r--r--cubeviz/bld.bat (renamed from cube-tools/bld.bat)0
-rw-r--r--cubeviz/build.sh3
-rw-r--r--cubeviz/meta.yaml (renamed from cube-tools/meta.yaml)26
4 files changed, 16 insertions, 15 deletions
diff --git a/cube-tools/build.sh b/cube-tools/build.sh
deleted file mode 100644
index 4b71885..0000000
--- a/cube-tools/build.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-
-python setup.py install || exit 1 \ No newline at end of file
diff --git a/cube-tools/bld.bat b/cubeviz/bld.bat
index b290566..b290566 100644
--- a/cube-tools/bld.bat
+++ b/cubeviz/bld.bat
diff --git a/cubeviz/build.sh b/cubeviz/build.sh
new file mode 100644
index 0000000..e5a977a
--- /dev/null
+++ b/cubeviz/build.sh
@@ -0,0 +1,3 @@
+# Replace malformed pytest requirement with something sane
+sed -i .bad -e 's/pytest==*/pytest>=3.1.0/' setup.py setup.cfg
+$PYTHON setup.py install
diff --git a/cube-tools/meta.yaml b/cubeviz/meta.yaml
index 86a67d7..d6eb520 100644
--- a/cube-tools/meta.yaml
+++ b/cubeviz/meta.yaml
@@ -1,13 +1,13 @@
-{% set name = 'cube-tools' %}
+{% set name = 'cubeviz' %}
{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
+".dev"
+environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% set number = '1' %}
+{% set number = '0' %}
about:
home: https://github.com/spacetelescope/{{ name }}
license: BSD
- summary: cube-tools
+ summary: Data analysis package for cubes.
build:
number: {{ number }}
@@ -18,23 +18,23 @@ package:
requirements:
build:
- - glueviz
- - specview
- - pyqtgraph
- - setuptools
+ - asdf
+ - astropy
- numpy
- - python x.x
+ - pytest >=3.1*
+ - setuptools
+ - python
run:
- - glueviz
- - specview
- - pyqtgraph
+ - asdf
+ - astropy
- numpy
- - python x.x
+ - pytest >=3.1*
+ - python
source:
git_url: https://github.com/spacetelescope/{{ name }}.git
test:
imports:
- - cube_tools
+ - cubeviz