You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
copyq/CopyQ-3.0.2/utils/travis/install-osx.sh

29 lines
587 B

#!/usr/bin/env bash
set -e -x
WHEELHOUSE="$HOME/.wheelhouse"
function pip_with_cache() {
# Pre-cache all dependencies as wheels in the cache dir
pip wheel \
--use-wheel \
--wheel-dir="$WHEELHOUSE" \
--find-links="file://$WHEELHOUSE" \
"$@"
# Install from the wheelhouse
sudo pip install \
--use-wheel \
--find-links="file://$WHEELHOUSE" \
"$@"
}
brew install qt5
sudo pip install --upgrade pip
sudo pip install wheel
pip_with_cache \
dmgbuild \
'pyobjc-framework-Quartz' \
'pyobjc-framework-Cocoa'