Abdessamad Derraz
e9f6fe43a0
refactor: split the installer into a package
...
install.py held 31,575 lines and 1,370 definitions in one module. Its
source is now installer/, 45 modules by concern, each importing from the
others what it uses, so ruff and mypy read every module on its own.
scripts/build_installer.py joins them back into install.py in import
order, with one block of standard library imports and the zlib and
unicodedata guard. It refuses an import from outside the standard
library, a name two modules define, an import cycle, a renamed import
and an import-time read of a name from a later module. install.py stays
one stdlib-only file for the bootstraps, the launchers and PyPI.
The split was written by a script, statement by statement: every
top-level statement of the old file is in the new one with the same AST.
Two tests that located code by its neighbour now read it by name.
2026-11-18 01:37:28 +01:00
..
2026-11-17 09:48:13 +01:00
2026-11-17 08:10:24 +01:00
2026-11-09 18:26:05 +01:00
2026-11-17 07:07:48 +01:00
2026-11-12 16:29:58 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 08:25:10 +01:00
2026-11-06 08:14:17 +01:00
2026-11-18 01:37:28 +01:00
2026-11-17 07:07:48 +01:00
2026-11-09 19:04:08 +01:00
2026-11-17 07:07:48 +01:00
2026-11-17 08:25:19 +01:00
2026-11-17 08:25:19 +01:00
2026-11-17 08:25:19 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 08:25:26 +01:00
2026-11-06 16:01:27 +01:00
2026-11-17 09:19:32 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 09:48:13 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 07:54:04 +01:00
2026-10-28 05:47:38 +01:00
2026-11-05 11:43:03 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 07:54:04 +01:00
2026-11-17 09:33:10 +01:00
2026-11-06 03:21:53 +01:00
2026-11-12 15:36:46 +01:00
2026-11-17 07:07:48 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 07:54:05 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 09:33:10 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 15:11:43 +01:00
2026-11-17 09:33:10 +01:00
2026-11-17 09:15:44 +01:00
2026-11-17 09:38:21 +01:00
2026-11-12 18:56:41 +01:00
2026-11-17 09:33:10 +01:00
2026-11-06 11:52:34 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 07:07:48 +01:00
2026-11-17 07:07:48 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 07:54:05 +01:00
2026-11-17 07:07:48 +01:00
2026-11-17 09:33:10 +01:00
2026-11-17 09:33:10 +01:00
2026-10-28 17:09:24 +01:00
2026-11-06 03:21:53 +01:00
2026-11-12 07:12:20 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 08:25:26 +01:00
2026-11-05 11:43:55 +01:00
2026-11-17 08:25:10 +01:00
2026-11-17 08:02:39 +01:00
2026-11-17 07:56:09 +01:00
2026-11-17 08:02:39 +01:00
2026-11-17 07:56:08 +01:00
2026-11-17 07:56:08 +01:00
2026-11-06 09:02:18 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 15:28:11 +01:00
2026-11-17 16:44:35 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 07:07:48 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 07:54:05 +01:00
2026-11-17 08:25:10 +01:00
2026-11-17 08:25:10 +01:00
2026-11-06 15:13:05 +01:00
2026-11-17 07:07:48 +01:00
2026-11-17 08:25:26 +01:00
2026-11-09 06:04:42 +01:00
2026-11-17 07:52:20 +01:00
2026-11-12 15:36:46 +01:00
2026-11-17 07:52:20 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 09:33:10 +01:00
2026-11-17 09:33:03 +01:00
2026-11-12 11:03:24 +01:00
2026-11-05 12:19:12 +01:00
2026-11-17 09:33:03 +01:00
2026-11-17 09:33:10 +01:00
2026-11-10 14:12:00 +01:00
2026-11-06 14:59:47 +01:00
2026-11-17 09:33:03 +01:00
2026-11-10 11:50:29 +01:00
2026-11-06 15:12:36 +01:00
2026-11-10 14:12:06 +01:00
2026-11-17 09:33:10 +01:00
2026-11-17 09:33:03 +01:00
2026-11-17 07:07:48 +01:00
2026-11-17 09:34:59 +01:00
2026-11-17 07:07:48 +01:00
2026-11-17 10:01:23 +01:00
2026-11-11 10:27:53 +01:00
2026-11-17 07:54:05 +01:00
2026-11-17 07:54:05 +01:00
2026-11-17 07:44:07 +01:00
2026-11-06 08:54:06 +01:00
2026-11-17 08:25:10 +01:00
2026-11-17 07:56:09 +01:00
2026-11-17 07:54:04 +01:00
2026-11-17 07:44:07 +01:00
2026-11-17 08:25:19 +01:00
2026-11-17 08:25:26 +01:00
2026-11-17 09:33:03 +01:00
2026-11-17 09:48:13 +01:00
2026-11-17 09:48:13 +01:00
2026-11-17 07:44:06 +01:00
2026-11-17 07:56:08 +01:00