mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

Prior to this change, ./run fails out of the box on ARM systems, as Qt wasn't available on PyPI until the 6.8 release. Also added a script in tools/ for testing Qt6.8 issues on other platforms.
25 lines
623 B
Bash
Executable file
25 lines
623 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 build/development/testing
|
|
../out/pyenv/bin/pip-compile $args $upgrade requirements.dev.in
|
|
|
|
# during bundle
|
|
../out/pyenv/bin/pip-compile $args $upgrade requirements.bundle.in
|
|
for i in requirements.{bundle,qt6*}.in; do ../out/pyenv/bin/pip-compile $args $upgrade $i; done
|
|
|
|
|