mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-01 22:08:56 -06:00
docs: say install.py is built from installer/
The installer page, the tool list, the testing guide and the architecture tree name the package, the build script and its check.
This commit is contained in:
1 parent
a98e0a7140
commit
e10c14935a
4 files changed
+15
-3
No files matched your search
@@ -2121,6 +2121,14 @@ Tests refuse any 3.9 syntax or API, and one runs the installer end to end under
|
||||
a real 3.8 interpreter, which CI installs beside 3.12 so the check cannot skip.
|
||||
The build scripts need 3.9 and are not bound by this.
|
||||
|
||||
`install.py` is generated: its source is the `installer/` package, one module
|
||||
per concern (detection, file lists, downloads, the full screen), each importing
|
||||
from the others what it uses, so ruff and mypy read every module on its own.
|
||||
Edit the modules, then run `python scripts/build_installer.py`. It joins them
|
||||
into `install.py` in import order and refuses an import from outside the
|
||||
standard library, a name two modules define and an import cycle. CI runs it
|
||||
with `--check`, which fails when `install.py` is not the file the package builds.
|
||||
|
||||
Every change to `install.py` recomputes the SHA-256 pinned in `install.sh` and
|
||||
`install.ps1` in the same commit: `python scripts/pin_installer.py` writes both
|
||||
(`--check` writes nothing and exits 1 on a stale pin). It also runs
|
||||
|
||||
Reference in new issue
Block a user