2017-11-03 02:44:49 +13:00
|
|
|
#!/bin/bash
|
2018-11-30 09:11:59 +13:00
|
|
|
set -ev # display each line executed along with output
|
2017-11-03 02:44:49 +13:00
|
|
|
brew update
|
2018-11-30 09:11:59 +13:00
|
|
|
# Upgrade to python 3.x
|
2018-04-07 04:37:29 +12:00
|
|
|
brew upgrade python
|
|
|
|
brew install enchant
|
2018-11-30 09:11:59 +13:00
|
|
|
brew postinstall python # this installs pip
|
2018-04-07 05:15:45 +12:00
|
|
|
sudo -H pip3 install --upgrade pip setuptools wheel
|
2018-10-31 05:36:25 +13:00
|
|
|
pip3 install pyinstaller PyQt5 lxml pyenchant pytest pytest-faulthandler
|
2018-11-30 09:11:59 +13:00
|
|
|
brew install hunspell
|
|
|
|
# Fooling PyEnchant as described in the wiki.
|
|
|
|
# https://github.com/olivierkes/manuskript/wiki/Package-manuskript-for-OS-X
|
2017-11-13 22:47:19 +13:00
|
|
|
sudo touch /usr/local/share/aspell
|
2018-11-30 09:11:59 +13:00
|
|
|
#
|
|
|
|
# Note that if qt install is terminated by Travis CI then it is likely
|
|
|
|
# building from source instead of pouring from a homebrew bottle.
|
|
|
|
# Fix by choosing lowest osx_image value [1] for xcode that has a
|
|
|
|
# homebrew qt bottle [2].
|
|
|
|
# [1] https://docs.travis-ci.com/user/reference/osx#os-x-version
|
|
|
|
# [2] https://formulae.brew.sh/formula/qt
|
|
|
|
brew install qt
|