2019-04-30 22:11:58 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2020-03-14 17:41:56 +00:00
|
|
|
set -ex
|
2020-03-14 17:34:01 +00:00
|
|
|
|
2020-03-15 00:00:01 +00:00
|
|
|
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
|
|
|
|
2020-03-15 12:40:15 +00:00
|
|
|
# Reinstall openssl to fix Python pip install issues
|
2020-03-15 12:54:59 +00:00
|
|
|
brew upgrade https://raw.githubusercontent.com/Homebrew/homebrew-core/e9004bd764c9436750a50e0b428548f68fe6a38a/Formula/openssl@1.1.rb
|
2020-03-15 12:40:15 +00:00
|
|
|
|
2020-03-15 12:49:28 +00:00
|
|
|
# Python 3.7.4 with 10.12 bottle
|
|
|
|
brew upgrade https://raw.githubusercontent.com/Homebrew/homebrew-core/e9004bd764c9436750a50e0b428548f68fe6a38a/Formula/python.rb
|
|
|
|
|
2019-04-30 22:11:58 +00:00
|
|
|
which python3
|
|
|
|
python3 --version
|
|
|
|
which pip3
|
|
|
|
pip3 --version
|
2020-03-15 11:53:09 +00:00
|
|
|
|
2020-03-15 12:17:06 +00:00
|
|
|
# Pyside 5.13.0 for 10.12 bottle
|
|
|
|
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/99219f0923014b24f33eae624fbfe83772c35f54/Formula/pyside.rb
|
2020-03-15 12:13:14 +00:00
|
|
|
|
2020-03-15 12:21:59 +00:00
|
|
|
# Explicitly upgrade Qt 5.13.1 as the pyside above needs it
|
|
|
|
brew upgrade https://raw.githubusercontent.com/Homebrew/homebrew-core/dcc34dd3cb24cb4f7cfa0047ccdb712d7cc4c6e4/Formula/qt.rb
|
|
|
|
|
2019-04-30 22:11:58 +00:00
|
|
|
python3 -c "from PySide2 import __version__; print(__version__)"
|
|
|
|
python3 -c "from PySide2.QtCore import __version__; print(__version__)"
|
2020-03-15 12:40:15 +00:00
|
|
|
python3 -c "import ssl; print(ssl)"
|
2019-04-30 22:11:58 +00:00
|
|
|
pip3 install py2app
|
|
|
|
python3 -c "from py2app.recipes import pyside2"
|
|
|
|
pip3 install twisted[tls] appnope requests certifi
|