Skip to content

Commit

Permalink
ci: use pythons own venv
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Jul 3, 2019
1 parent ef5c691 commit 370f62f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .travis/osx_setup_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,9 @@ sudo installer -pkg ${DLD}/${PKG} -target /
curl https://bootstrap.pypa.io/get-pip.py -o ${DLD}/get-pip.py
python ${DLD}/get-pip.py

# install virtualenv
# https://github.com/pyinstaller/pyinstaller/issues/4064
python -m pip install virtualenv==16.1.0

# create virtualenv
PP="/Library/Frameworks/Python.framework/Versions/${MPV::3}/bin/python${MPV::3}"
python -m virtualenv --no-site-packages -p $PP .env
$PP -m venv .env
source .env/bin/activate

# install ca certificates
Expand Down

0 comments on commit 370f62f

Please sign in to comment.