mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
python3: Port python2 patches to reduce the interpreter size
Some of the python2 patches were left behind when doing the python3 package. This was because the python build system can now autodetect what packages can be built in the system. However, some of these patches are actually useful to reduce drastically the size of the interpreter. This patch ports the relevant patches to the python3 package, and adds a new patch to remove the idle3 IDE as well from the interpreter. Fixes #5696 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
fc034397fc
commit
f1c092da8b
@@ -41,6 +41,11 @@ config BR2_PACKAGE_PYTHON3_BZIP2
|
||||
help
|
||||
bzip2 module for Python3
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_CODECSCJK
|
||||
bool "codecscjk module"
|
||||
help
|
||||
Chinese/Japanese/Korean codecs module for Python (large).
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_CURSES
|
||||
select BR2_PACKAGE_NCURSES
|
||||
bool "curses module"
|
||||
@@ -66,6 +71,12 @@ config BR2_PACKAGE_PYTHON3_SSL
|
||||
help
|
||||
_ssl module for Python3 (required for https in urllib etc).
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_UNICODEDATA
|
||||
bool "unicodedata module"
|
||||
default y
|
||||
help
|
||||
Unicode character database (used by stringprep module) (large).
|
||||
|
||||
config BR2_PACKAGE_PYTHON3_SQLITE
|
||||
bool "sqlite module"
|
||||
select BR2_PACKAGE_SQLITE
|
||||
|
||||
Reference in New Issue
Block a user