1 Do not install the idle editor
3 IDLE is the Python IDE built with the tkinter GUI toolkit. Since it's
4 highly unlikely to ever be useful in an embedded Linux system
5 generated by Buildroot, this patch simply disables the installation of
6 idle and the related Python modules. It saves 800 KB-900 KB of
9 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 Index: b/Makefile.pre.in
12 ===================================================================
17 logging csv importlib wsgiref \
18 ctypes ctypes/macholib \
19 - idlelib idlelib/Icons \
20 distutils distutils/command \
21 multiprocessing multiprocessing/dummy \
24 email/test email/test/data \
32 ===================================================================
37 warnings.filterwarnings("ignore",category=DeprecationWarning)
39 - scripts = ['Tools/scripts/idle', 'Lib/smtpd.py']
40 + scripts = ['Lib/smtpd.py']
41 if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"):
42 scripts += [ 'Tools/scripts/pydoc' ]
43 if not '--disable-lib2to3' in sysconfig.get_config_var("CONFIG_ARGS"):