python: add distutils back (selectively)
authorAlexandru Ardelean <redacted>
Wed, 12 Nov 2014 21:27:24 +0000 (23:27 +0200)
committerAlexandru Ardelean <redacted>
Wed, 12 Nov 2014 21:45:39 +0000 (23:45 +0200)
This patch reduces distutils from 1.7 MB to 0.7 MB.

Signed-off-by: Alexandru Ardelean <redacted>
lang/python/Makefile

index 8573d76bd216dffd34336e3291e94e01f17f17f9..39a1da622ac9a8c63626e07121b8a012da4a2676 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT