Skip to content

Commit

Permalink
Try to find the right Python headers and libs.
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Sep 16, 2016
1 parent cfa8bfa commit 2ab95fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ install:
- KEY_MODELLER=`cat mod-license` sudo dpkg -i modeller_9.17-1_amd64.deb
- ln -sf /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/_modeller.so $(dirname $(which python))/../lib/*/site-packages/
- ln -sf /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/modeller $(dirname $(which python))/../lib/*/site-packages/
- ls -l $(dirname $(which python))/../*
script:
- mkdir build
- cd build
- cmake ..
- cmake .. -DPYTHON_INCLUDE_DIR=$(dirname $(which python))/../include/ -DPYTHON_LIBRARY=$(dirname $(which python))/../lib/*.so
- make
- ln -sf __mdt.so pyext/_mdt.so
- ctest --output-on-failure
Expand Down

0 comments on commit 2ab95fa

Please sign in to comment.