1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-12-21 10:59:03 +00:00

Bootstrapping: don't use system-site-packages under OS X

This commit is contained in:
Virgil Dupras 2014-03-30 10:26:09 -04:00
parent 7d107d8efa
commit 4be4825112

View File

@ -21,7 +21,10 @@ if [ ! -d "env" ]; then
python get-pip.py $PIPARGS --force-reinstall
fi
deactivate
python3 -m venv env --upgrade --system-site-packages
if [ "$(uname)" != "Darwin" ]; then
# We only need system site packages for PyQt, so under OS X, we don't enable it
python3 -m venv env --upgrade --system-site-packages
fi
fi
source env/bin/activate