fix dependencies and add tests
{% set name = "nsbm" %}
-{% set version = "0.3.3" %}
+{% set version = "0.3.4" %}
package:
name: {{ name|lower }}
@@ -7,52 +7,21 @@ package:
source:
url: https://github.com/fvalle1/trisbm/archive/refs/tags/{{ version }}.tar.gz
- sha256: 99981f5a96c579999011301c163dff92c86209ed4929bc8ba721c919099002db
+ sha256: 268897a510cd0de903f8069376e4124544c515b1c070af6af31fea0b0ef7628c
build:
skip: true # [win]
number: 0
- #script: "{{ PYTHON }} -m pip install . -vv"
+ script: "{{ PYTHON }} -m pip install . -vv"
requirements:
build:
- - {{ compiler('c') }}
- host:
- python
- pip
- - numpy
- - boost-cpp
- - boost
- - expat
- - scipy >=1.0
- - gmp
- - cgal-cpp 5.0*
- - sparsehash 2.0*
- - cairomm
- - pycairo
- - glib
- - graph-tool
- - matplotlib
- - pandas
- - cloudpickle
run:
- python
- llvm-openmp # [osx]
- - boost-cpp
- - boost
- - expat
- - scipy >=1.0
- {{ pin_compatible('numpy') }}
- - gmp
- - sparsehash >=2.0
- - cairomm
- - pycairo
- - gdk-pixbuf
- - librsvg
- - gtk3
- - pygobject
- - matplotlib-base
- - zstandard
- matplotlib
- pandas
- cloudpickle
@@ -61,8 +30,11 @@ requirements:
test:
imports:
- trisbm
+ source_files:
+ - tests
commands:
- python3 -c "from trisbm import trisbm; model=trisbm()"
+ - python3 -c "from trisbm import trisbm; model=trisbm()"
+ - python3 tests/run_tests.py
about:
home: https://github.com/fvalle1/trisbm
