From a4691a289c00f93f126df4c5d3fe68c3fb0ef72a Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Fri, 19 May 2017 17:18:33 +0300 Subject: python3: remove __pycache__ folders pip & setuptools python3-pip & python3-setuptools have slightly different installation mechanisms. We need to remove the __pycache__ folders. Seems they're generated. This also reduces the size of the python3-pip & python3-setuptools packages. Signed-off-by: Alexandru Ardelean --- lang/python/python3/files/python3-package-pip.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'lang/python/python3/files/python3-package-pip.mk') diff --git a/lang/python/python3/files/python3-package-pip.mk b/lang/python/python3/files/python3-package-pip.mk index 0bd54aac8..b20a10f79 100644 --- a/lang/python/python3/files/python3-package-pip.mk +++ b/lang/python/python3/files/python3-package-pip.mk @@ -20,6 +20,7 @@ define Py3Package/python3-pip/install $(CP) \ $(PKG_BUILD_DIR)/install-pip/lib/python$(PYTHON3_VERSION)/site-packages/pip \ $(1)/usr/lib/python$(PYTHON3_VERSION)/site-packages/ + find $(1)/usr/lib/python$(PYTHON3_VERSION)/site-packages/ -name __pycache__ | xargs rm -rf endef $(eval $(call Py3BasePackage,python3-pip, \ -- cgit