From ad9c57beaec48a7fd31a7a727b1f0823893d1dfc Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean <ardeleanalex@gmail.com> Date: Wed, 12 Nov 2014 23:27:24 +0200 Subject: [PATCH] python: add distutils back (selectively) This patch reduces distutils from 1.7 MB to 0.7 MB. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> --- lang/python/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/python/Makefile b/lang/python/Makefile index 8573d76bd..39a1da622 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -148,7 +148,8 @@ endef define PyPackage/python/filespec +|/usr/lib/python$(PYTHON_VERSION) -|/usr/lib/python$(PYTHON_VERSION)/config --|/usr/lib/python$(PYTHON_VERSION)/distutils +-|/usr/lib/python$(PYTHON_VERSION)/distutils/cygwinccompiler.py +-|/usr/lib/python$(PYTHON_VERSION)/distutils/command/wininst* -|/usr/lib/python$(PYTHON_VERSION)/idlelib -|/usr/lib/python$(PYTHON_VERSION)/lib2to3 -|/usr/lib/python$(PYTHON_VERSION)/lib-tk