forked from premiere/premiere-libtorrent
fix python installation issue on travis/osx
This commit is contained in:
parent
ef5d44ea9d
commit
40c11a015f
|
@ -64,7 +64,7 @@ before_install:
|
||||||
# we have to use python from brew rather than the system provided python
|
# we have to use python from brew rather than the system provided python
|
||||||
# because of OSX System Integrity Protection, which prevents injecting
|
# because of OSX System Integrity Protection, which prevents injecting
|
||||||
# user-libraries (i.e. python modules) into system binaries (i.e. /usr/bin/python)
|
# user-libraries (i.e. python modules) into system binaries (i.e. /usr/bin/python)
|
||||||
- 'if [[ $TRAVIS_OS_NAME == "osx" && "$python" == "1" ]]; then travis_retry brew install boost-python python2; fi'
|
- 'if [[ $TRAVIS_OS_NAME == "osx" && "$python" == "1" ]]; then travis_retry brew install boost-python; brew upgrade python2; fi'
|
||||||
- 'if [ "$docs" = "1" ]; then
|
- 'if [ "$docs" = "1" ]; then
|
||||||
easy_install --user docutils;
|
easy_install --user docutils;
|
||||||
mkdir -p /Users/travis/Library/Python/2.7/lib/python/site-packages;
|
mkdir -p /Users/travis/Library/Python/2.7/lib/python/site-packages;
|
||||||
|
|
Loading…
Reference in New Issue