summaryrefslogtreecommitdiff
path: root/poppy
diff options
context:
space:
mode:
Diffstat (limited to 'poppy')
-rw-r--r--poppy/bld.bat3
-rw-r--r--poppy/build.sh2
-rw-r--r--poppy/meta.yaml15
3 files changed, 10 insertions, 10 deletions
diff --git a/poppy/bld.bat b/poppy/bld.bat
index b290566..760380e 100644
--- a/poppy/bld.bat
+++ b/poppy/bld.bat
@@ -1,3 +1,2 @@
-python setup.py install
-if errorlevel 1 exit 1 \ No newline at end of file
+%PYTHON% setup.py install
diff --git a/poppy/build.sh b/poppy/build.sh
index 4b71885..6bd6081 100644
--- a/poppy/build.sh
+++ b/poppy/build.sh
@@ -1,2 +1,2 @@
-python setup.py install || exit 1 \ No newline at end of file
+$PYTHON setup.py install
diff --git a/poppy/meta.yaml b/poppy/meta.yaml
index cb9eaca..2fc9e2d 100644
--- a/poppy/meta.yaml
+++ b/poppy/meta.yaml
@@ -1,8 +1,9 @@
{% set name = 'poppy' %}
-{% set version = environ.get("GIT_DESCRIBE_TAG", "0.0.0")
- +".dev"
- +environ.get("GIT_DESCRIBE_NUMBER", "0") %}
-{% set number = '1' %}
+{% set version = GIT_DESCRIBE_TAG ~ ".dev" ~ GIT_DESCRIBE_NUMBER ~ "+" ~ GIT_DESCRIBE_HASH %}
+{% if version[0] == 'v' %}
+{% set version = version[1:] %}
+{% endif %}
+{% set number = '2' %}
about:
home: https://github.com/mperrin/{{ name }}
@@ -20,14 +21,14 @@ requirements:
build:
- nose
- astropy
- - numpy
+ - numpy {{ numpy }}
- scipy
- matplotlib
- six [py27]
- mock [py27]
- enum34 [py27]
- setuptools
- - python x.x
+ - python {{ python }}
run:
- nose
@@ -39,7 +40,7 @@ requirements:
- mock [py27]
- enum34 [py27]
- setuptools
- - python x.x
+ - python
source:
git_url: https://github.com/mperrin/{{ name }}.git