mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-20 21:02:23 +12:00
Enhance Travis CI build on OSX to remove sudo ownership warning
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.
This commit is contained in:
parent
8d16bb78d1
commit
4b50024a32
|
@ -4,7 +4,7 @@ brew update
|
||||||
# upgrade to python 3.x
|
# upgrade to python 3.x
|
||||||
brew upgrade python
|
brew upgrade python
|
||||||
brew install enchant
|
brew install enchant
|
||||||
sudo pip3 install --upgrade pip setuptools wheel
|
sudo -H pip3 install --upgrade pip setuptools wheel
|
||||||
pip3 install pyinstaller PyQt5 lxml pyenchant
|
pip3 install pyinstaller PyQt5 lxml pyenchant
|
||||||
brew install qt hunspell
|
brew install qt hunspell
|
||||||
# fooling PyEnchant as described in the wiki: https://github.com/olivierkes/manuskript/wiki/Package-manuskript-for-OS-X
|
# fooling PyEnchant as described in the wiki: https://github.com/olivierkes/manuskript/wiki/Package-manuskript-for-OS-X
|
||||||
|
|
Loading…
Reference in a new issue