d02af2fd53
Python 3 has a new standard for installing .pyc file, called PEP 3147. Unfortunately, this standard requires both the .py and .pyc files to be installed for a Python module to be found. This is quite annoying on space-constrained embedded systems, since the .py file is technically not required for execution. For the Python standard library, our Python 3 package already contains a patch named python3-004-old-stdlib-cache.patch, which allows to disable the PEP 3147 installation. But that leaves the distutils/setuptools package an unsolved problem. This patch therefore adds a new patch to Python, which makes distutils package use the traditional installation path when byte compiling, rather than the PEP 3147 installation path. Since setuptools relies on distutils internally, it also fixes setuptools based packages. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm> |
||
---|---|---|
.. | ||
Config.in | ||
python3-001-remove-host-header-path.patch | ||
python3-002-properly-detect-if-python-build.patch | ||
python3-003-sysconfigdata-install-location.patch | ||
python3-004-old-stdlib-cache.patch | ||
python3-005-pyc-pyo-conditional.patch | ||
python3-006-cross-compile-getaddrinfo.patch | ||
python3-007-disable-extensions.patch | ||
python3-008-distutils-sysconfig-use-sysconfigdata.patch | ||
python3-009-distutils-use-python-sysroot.patch | ||
python3-010-no-termcap-host-path.patch | ||
python3-011-support-library-path-old-compilers.patch | ||
python3-012-dont-add-multiarch-path.patch | ||
python3-013-abort-on-failed-modules.patch | ||
python3-014-serial-ioctl-workaround.patch | ||
python3-015-distutils-scripts-dont-adjust-shebang.patch | ||
python3-016-distutils-no-pep3147.patch | ||
python3-100-optional-test-modules.patch | ||
python3-101-optional-pydoc.patch | ||
python3-102-optional-2to3.patch | ||
python3-103-optional-sqlite.patch | ||
python3-104-optional-tk.patch | ||
python3-105-optional-curses.patch | ||
python3-106-optional-expat.patch | ||
python3-107-optional-codecs-cjk.patch | ||
python3-108-optional-nis.patch | ||
python3-109-optional-unicodedata.patch | ||
python3-110-optional-idle.patch | ||
python3-111-optional-decimal.patch | ||
python3.mk |