Anki/tools
Damien Elmes 7ba32cce6d Migrate build system to uv
Closes #3787, and is a step towards #3081 and #4022

This change breaks our PyOxidizer bundling process. While we probably
could update it to work with the new venvs & lockfile, my intention
is to use this as a base to try out a uv-based packager/installer.

Still to do:
- move mpv distribution to a wheel
- build the new uv-based installer.

Some notes about the changes:

- Use uv for python download + venv installation
- Drop python/requirements* in favour of pyproject files / uv.lock
- Bumped to latest Python 3.9 version. The move to 3.13 should be
a fairly trivial change when we're ready.
- Dropped the old write_wheel.py in favour of uv/hatchling. This has
the unfortunate side-effect of dropping leading zeros in our wheels,
which we could try hack around in the future.
- Switch to Qt 6.7 for the dev repo, as it's the first PyQt version
with a Linux/ARM WebEngine wheel.
- Unified our macOS deployment target with minimum required for ARM.
- Dropped unused fluent python files
- Dropped unused python license generation
- Dropped helpers to run under Qt 5, as our wheels were already
requiring Qt 6 to install.
2025-06-16 19:20:12 +07:00
..
minilints Update tokio, crossbeam-channel and cargo-deny 2025-04-10 15:18:55 +10:00
build Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
build.bat fix: fix windows build issue (#2947) 2024-01-19 15:48:06 +10:00
clean Add a script to clean build folder 2023-07-03 17:24:27 +10:00
dmypy Migrate pylib/anki qt/aqt to group syntax (eg pylib:anki) 2023-06-15 17:17:55 +10:00
install-n2 Update n2 [action required] 2025-02-19 10:34:45 +07:00
mac-x86 Migrate build system to uv 2025-06-16 19:20:12 +07:00
ninja.bat Fix Windows build 2023-07-02 15:17:29 +10:00
profile Update profiling script 2023-09-14 09:23:44 +10:00
rebuild-web Fix tools/web-watch 2023-06-20 20:40:43 +10:00
reload_webviews.py Tweaks to web-watch 2023-06-26 15:50:34 +10:00
run-qt6.6 Migrate build system to uv 2025-06-16 19:20:12 +07:00
run-qt6.8 Migrate build system to uv 2025-06-16 19:20:12 +07:00
run.py Fix mpv not working out of the box in win32 source build 2023-12-06 11:34:56 +10:00
runopt Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
unused-rust-deps Remove some unused Rust dependencies 2023-06-24 19:30:29 +10:00
web-watch Tweaks to web-watch 2023-06-26 15:50:34 +10:00