Skip to content

Commit

Permalink
Ensure we only get one Python library.
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Sep 16, 2016
1 parent 6763985 commit 768d25b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ script:
- mkdir build
- cd build
- PYTHON_INC=$(echo $(dirname $(which python))/../include/*/)
- ls -l /opt/python/${TRAVIS_PYTHON_VERSION}*/lib/
- PYTHON_LIB=$(echo /opt/python/${TRAVIS_PYTHON_VERSION}*/lib/libpython${TRAVIS_PYTHON_VERSION}*.so)
- PYTHON_LIB=$(echo /opt/python/${TRAVIS_PYTHON_VERSION}.*/lib/libpython${TRAVIS_PYTHON_VERSION}*.so)
- cmake .. -DPYTHON_INCLUDE_DIR=$PYTHON_INC -DPYTHON_LIBRARY=$PYTHON_LIB
- make
- ln -sf __mdt.so pyext/_mdt.so
Expand Down

0 comments on commit 768d25b

Please sign in to comment.