fix to have compatible run and build python versions
@@ -26,20 +26,25 @@ requirements:
- pkg-config
- m2-patch # [win]
- make # [unix]
+ - python {{ PY_VER }}*
host:
- - cython
- python
+ - cython
outputs:
- name: {{ name }}
+ requirements:
+ run:
+ - pthread-stubs # [unix]
files:
- lib/libode* # [unix]
- - lib/pkgconfig # [unix]
- - lib/cmake # [unix]
+ - lib/pkgconfig/ode.pc # [unix]
+ - lib/cmake/ode-{{ soversion }} # [unix]
+ - bin/ode-config # [unix]
- Library/lib/ode_double.lib # [win]
- Library/bin/ode_double.dll # [win]
- - Library/lib/pkgconfig # [win]
- - Library/lib/cmake # [win]
+ - Library/lib/pkgconfig/ode.pc # [win]
+ - Library/lib/cmake/ode* # [win]
- include/ode
test:
commands:
@@ -53,9 +58,12 @@ outputs:
- if not exist %PREFIX%\Library\lib\pkgconfig\ode.pc exit 1 # [win]
- name: pyode
requirements:
+ run:
- {{ pin_subpackage('libode', exact=True) }}
+ - python {{ PY_VER }}*
files:
- - lib/python*/site-packages/*
+ - lib/python{{ PY_VER }}/site-packages/ode.*
+ - lib/python{{ PY_VER }}/site-packages/Open_Dynamics_Engine*egg-info
test:
imports:
- ode
