Skip to content

Commit

Permalink
Add Python 3 dependencies for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Jan 8, 2019
1 parent 43f08d0 commit f1a45e3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions setup/mac/binary_distribution/Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ brew 'lz4'
brew 'nlopt'
brew 'numpy'
brew 'protobuf'
brew 'python'
brew 'python@2'
brew 'scipy'
brew 'tinyxml'
Expand Down
1 change: 1 addition & 0 deletions setup/mac/binary_distribution/install_prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ fi
/usr/local/bin/brew bundle --file="${BASH_SOURCE%/*}/Brewfile"

/usr/local/bin/pip2 install --upgrade --requirement "${BASH_SOURCE%/*}/requirements.txt"
/usr/local/bin/pip3 install --upgrade --requirement "${BASH_SOURCE%/*}/requirements.txt"
1 change: 0 additions & 1 deletion setup/mac/binary_distribution/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
lxml
matplotlib
pip
pydot
PyYAML
pyzmq
Expand Down
3 changes: 1 addition & 2 deletions setup/mac/source_distribution/install_prereqs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ if [[ "${EUID}" -eq 0 ]]; then
fi

/usr/local/bin/brew update
# TODO(jamiesnape): Remove this line on or after 9/30/18.
/usr/local/bin/brew uninstall --force bazel
/usr/local/bin/brew bundle --file="${BASH_SOURCE%/*}/Brewfile"
/usr/local/bin/brew tap-pin bazelbuild/tap

/usr/local/bin/pip2 install --upgrade --requirement "${BASH_SOURCE%/*}/requirements.txt"
/usr/local/bin/pip3 install --upgrade --requirement "${BASH_SOURCE%/*}/requirements.txt"

0 comments on commit f1a45e3

Please sign in to comment.