mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-09-30 17:26:18 +13:00
4b50024a32
The Travis CI build reports the following in the messages from executing package/prepare_osx.sh: sudo pip3 install --upgrade pip setuptools wheel The directory '/Users/travis/Library/Caches/pip/http' or its \ parent directory is not owned by the current user and the cache \ has been disabled. Please check the permissions and owner of that \ directory. If executing pip with sudo, you may want sudo's -H \ flag. The directory '/Users/travis/Library/Caches/pip' or its parent \ directory is not owned by the current user and caching wheels has \ been disabled. check the permissions and owner of that \ directory. If executing pip with sudo, you may want sudo's -H \ flag. In an effort to address this issue, add "-H" flag to sudo.
11 lines
375 B
Bash
Executable file
11 lines
375 B
Bash
Executable file
#!/bin/bash
|
|
set -ev
|
|
brew update
|
|
# upgrade to python 3.x
|
|
brew upgrade python
|
|
brew install enchant
|
|
sudo -H pip3 install --upgrade pip setuptools wheel
|
|
pip3 install pyinstaller PyQt5 lxml pyenchant
|
|
brew install qt hunspell
|
|
# fooling PyEnchant as described in the wiki: https://github.com/olivierkes/manuskript/wiki/Package-manuskript-for-OS-X
|
|
sudo touch /usr/local/share/aspell
|