python-pip: remove windows binaries 743/head
authorAlexandru Ardelean <aa@ocedo.com>
Tue, 6 Jan 2015 12:59:33 +0000 (14:59 +0200)
committerAlexandru Ardelean <aa@ocedo.com>
Tue, 6 Jan 2015 12:59:35 +0000 (14:59 +0200)
Seem pip comes bundled with some Python libs.

Some more work will be needed to split them out of pip.
For now, some Windows executables are safe to remove.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python-pip/Makefile

index 9744b0176ca69fcb617127b622dfb836e9206b0c..d0607d16e9fc5045b17c7997a3e0eb87bf2c057d 100644 (file)
@@ -40,8 +40,10 @@ define Build/Compile
        )
 endef
 
+PYTHON_PIP_PKG_DIR:=$(PYTHON_PKG_DIR)/pip-$(PKG_VERSION)-py$(PYTHON_VERSION).egg/pip
 define PyPackage/python-pip/filespec
-+|/usr/lib/python$(PYTHON_VERSION)
++|$(PYTHON_PKG_DIR)
+-|$(PYTHON_PIP_PKG_DIR)/_vendor/distlib/*.exe
 endef
 
 # Backup these files, so that they do not clash with python-setuptools