anki/python/pyqt
Damien Elmes a14eb6a1e8 improve PyQt install
- use a single script for all PyQt versions
- add hashes
- add a new ./run-qt5.14 script for testing with PyQt5.14
2021-10-23 10:56:17 +10:00
..
5_14 improve PyQt install 2021-10-23 10:56:17 +10:00
5_15 improve PyQt install 2021-10-23 10:56:17 +10:00
6_2 improve PyQt install 2021-10-23 10:56:17 +10:00
BUILD.bazel improve PyQt install 2021-10-23 10:56:17 +10:00
defs.bzl improve PyQt install 2021-10-23 10:56:17 +10:00
install.py improve PyQt install 2021-10-23 10:56:17 +10:00
README.md improve PyQt install 2021-10-23 10:56:17 +10:00

We handle PyQt specially for a few reasons:

  • It ships with a few issues in its .pyi files that we want to correct.
  • Bazel's Python tools install each package in a separate folder, but the various PyQt packages expect to be installed in the same location, and will give runtime linking issues when they are split up.

To update the version lock file, change to the folder with requirements.in, modify the file, and then run "bazel run //python:update". PyQt does not depend on platform-specific packages, so the update can be run on any platform.