diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-05-19 17:18:33 +0300 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-05-19 17:27:48 +0300 |
| commit | a4691a289c00f93f126df4c5d3fe68c3fb0ef72a (patch) | |
| tree | ae3ff1090496aee0e7e676166611a418542ce469 /lang/python/python3/files/python3-package-setuptools.mk | |
| parent | b9d88065f519583841602170a0f2827fb5ce02f3 (diff) | |
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 <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3/files/python3-package-setuptools.mk')
| -rw-r--r-- | lang/python/python3/files/python3-package-setuptools.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/python/python3/files/python3-package-setuptools.mk b/lang/python/python3/files/python3-package-setuptools.mk index 52d56e9ed..9a646334f 100644 --- a/lang/python/python3/files/python3-package-setuptools.mk +++ b/lang/python/python3/files/python3-package-setuptools.mk @@ -23,6 +23,7 @@ define Py3Package/python3-setuptools/install $(PKG_BUILD_DIR)/install-setuptools/lib/python$(PYTHON3_VERSION)/site-packages/setuptools \ $(PKG_BUILD_DIR)/install-setuptools/lib/python$(PYTHON3_VERSION)/site-packages/easy_install.py \ $(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-setuptools, \ |
