mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 07:02:11 +00:00
Fix for Python3 via brew
Apparently with homebrew the correct package for python3 is now just `python`; python 2 was relegated to 'python@2', and `python3` is an alias for `python` (which needs to be upgraded rather than installed).
This commit is contained in:
parent
13c08072dc
commit
1ddfacbad1
@ -138,7 +138,7 @@ before_install:
|
|||||||
PY_CMD=python$PYTHON
|
PY_CMD=python$PYTHON
|
||||||
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||||
if [ "$PY" = "3" ]; then
|
if [ "$PY" = "3" ]; then
|
||||||
brew update && brew install python$PY;
|
brew update && brew upgrade python
|
||||||
else
|
else
|
||||||
curl -fsSL https://bootstrap.pypa.io/get-pip.py | $PY_CMD - --user
|
curl -fsSL https://bootstrap.pypa.io/get-pip.py | $PY_CMD - --user
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user