mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
avoid the slow pip upgrade on subsequent runs
This commit is contained in:
parent
e56ad3d1ab
commit
38df028180
1 changed files with 4 additions and 2 deletions
|
@ -12,9 +12,11 @@ else
|
|||
fi
|
||||
|
||||
# activate venv
|
||||
test -d pyenv || python -m venv pyenv
|
||||
. pyenv/bin/activate
|
||||
if [ ! -d pyenv ]; then
|
||||
python -m venv pyenv
|
||||
pip install --upgrade pip setuptools
|
||||
fi
|
||||
. pyenv/bin/activate
|
||||
|
||||
# add qt if missing
|
||||
python -c 'import PyQt5' 2>/dev/null || pip install -r anki-qt/requirements.qt
|
||||
|
|
Loading…
Reference in a new issue