Added tests for gui and python packages, as well as fixing python to 3.*
Also some tidying up, as requested by the linter.
@@ -102,6 +102,10 @@ outputs:
- zlib
- libcxx # [osx]
+ test:
+ commands:
+ - command -v prismatic-gui # [linux]
+ - test -f $PREFIX/Applications/prismatic-gui.app/Contents/MacOS/prismatic-gui # [osx]
- name: pyprismatic
build:
@@ -111,7 +115,7 @@ outputs:
requirements:
build:
- - python
+ - python 3.*
- pip
- {{ compiler('c') }}
- {{ compiler('cxx') }}
@@ -126,7 +130,7 @@ outputs:
- make # [unix]
- cmake
host:
- - python
+ - python {{ python }}
- boost
- hdf5
- fftw
@@ -134,11 +138,13 @@ outputs:
- h5py
- zlib
run:
- - python
+ - python {{ python }}
- zlib
- libcxx # [osx]
-
+ test:
+ commands:
+ - python -c "import pyprismatic; pyprismatic.demo()"
about:
home: http://prism-em.com/
