syncplay/travis/macos-install.sh

24 lines
681 B
Bash
Raw Normal View History

2019-04-30 22:11:58 +00:00
#!/usr/bin/env bash
2020-03-14 17:41:56 +00:00
set -ex
2020-03-15 00:00:01 +00:00
export HOMEBREW_NO_INSTALL_CLEANUP=1
brew update
# An error occurs when upgrading Python, but appears to be benign, hence the "|| true"
#
# Error: undefined method `any?' for nil:NilClass
# /usr/local/Homebrew/Library/Homebrew/cmd/upgrade.rb:227:in `depends_on'
brew upgrade python || true
2019-04-30 22:11:58 +00:00
which python3
python3 --version
which pip3
pip3 --version
2020-03-15 10:35:54 +00:00
brew install albertosottile/syncplay/pyside
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__)"
pip3 install py2app
python3 -c "from py2app.recipes import pyside2"
pip3 install twisted[tls] appnope requests certifi