◐ Shell
clean mode source ↗

bpo-45949: Pure Python freeze module for cross builds (GH-29899) by tiran · Pull Request #29899 · python/cpython

@tiran tiran marked this pull request as ready for review

December 3, 2021 15:25

@tiran tiran changed the title bpo-45949: Pure Python freeze module bpo-45949: Pure Python freeze module for cross builds

Dec 5, 2021

ericsnowcurrently

Use `_bootstrap_python` interpreter and pure Python implementation of
`freeze_module` to generate frozen byte code files. Only importlib
bootstrap files are generated with `Programs/_freeze_module`.

This simplifies cross building, as the build system no longer needs a
`_freeze_module` binary. A standard Python installation with same
version is sufficient.

Signed-off-by: Christian Heimes <christian@python.org>
- Fix typo
- Remove confusing comment
- Improve dependency handling for freezing

ericsnowcurrently

@tiran tiran changed the title bpo-45949: Pure Python freeze module for cross builds bpo-45949: Pure Python freeze module for cross builds (GH-29899)

Dec 13, 2021

@tiran tiran deleted the bpo-45949-pyfreeze branch

December 13, 2021 19:48