diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-05-19 17:20:04 +0300 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-05-19 17:28:08 +0300 |
| commit | 0d54d05b6d42c45f31c80c8679188d0d4d15de2d (patch) | |
| tree | fb82db8ad479903d5c52dbe89a3b6c459bf35e57 /lang/python/python3/files | |
| parent | a4691a289c00f93f126df4c5d3fe68c3fb0ef72a (diff) | |
python3-pip: override Package/python3-pip/install rule
This is in essence fixes pip3.
That means pip3 will ship without Python byte-codes
for a while, until I'll find a better way to fix it.
I couldn't think of a not-very hack-ish way of doing it.
The only draw-back of this, will be that pip3 will run
a bit slower ; but that should be ok for a while.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/python3/files')
| -rw-r--r-- | lang/python/python3/files/python3-package-pip.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/python3/files/python3-package-pip.mk b/lang/python/python3/files/python3-package-pip.mk index b20a10f79..43e05f1c7 100644 --- a/lang/python/python3/files/python3-package-pip.mk +++ b/lang/python/python3/files/python3-package-pip.mk @@ -12,7 +12,7 @@ $(call Package/python3/Default) DEPENDS:=+python3 +python3-setuptools +python-pip-conf endef -define Py3Package/python3-pip/install +define Package/python3-pip/install $(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib/python$(PYTHON3_VERSION)/site-packages # Adjust shebang to proper python location on target sed "1s/.*/#\!\/usr\/bin\/python$(PYTHON3_VERSION)/" -i $(PKG_BUILD_DIR)/install-pip/bin/* |
