Skip to content

Commit

Permalink
Link Modeller Python libs into virtualenv location.
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Sep 16, 2016
1 parent fccbbff commit 4ea6405
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ python:
- 2.6
- 2.7
- 3.5
virtualenv:
# Need to be able to find Modeller in system Python directories
system_site_packages: true
install:
- wget $LICENSE_URL -O mod-license
- sudo apt-get -qq update
- sudo apt-get install -y libhdf5-serial-dev swig
- wget http://salilab.org/modeller/9.17/modeller_9.17-1_amd64.deb
- 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 $HOME/virtualenv/*/lib/*/site-packages/
- ln -sf /usr/lib/python$TRAVIS_PYTHON_VERSION/dist-packages/modeller $HOME/virtualenv/*/lib/*/site-packages/
script:
- mkdir build
- cd build
Expand Down

0 comments on commit 4ea6405

Please sign in to comment.