anki/python/update_python_deps.sh
Damien Elmes 8abcb77d95 Revert Windows build to Qt 6.4; update to 6.4.3
Multiple users have reported that 6.5 is behaving sluggishly

https://forums.ankiweb.net/t/anki-2-1-62-beta/29302/9
2023-04-14 12:05:34 +10:00

27 lines
796 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$1" == "all" ]; then
upgrade="--upgrade"
elif [ "$1" != "" ]; then
upgrade="--upgrade-package $1"
else
upgrade=""
fi
args="--resolver=backtracking --allow-unsafe --no-header --strip-extras --generate-hashes"
# initial pyenv bootstrap
../out/pyenv/bin/pip-compile $args $upgrade requirements.base.in
# during bundle
../out/pyenv/bin/pip-compile $args $upgrade requirements.bundle.in
#../out/pyenv/bin/pip-compile $args $upgrade requirements.qt6_4.in
../out/pyenv/bin/pip-compile $args $upgrade requirements.qt6_5.in
# ../out/pyenv/bin/pip-compile $args $upgrade requirements.qt5_14.in
# ../out/pyenv/bin/pip-compile $args $upgrade requirements.qt5_15.in
# during build/development/testing
../out/pyenv/bin/pip-compile $args $upgrade requirements.dev.in