mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 08:13:34 +08:00
python-netifaces: use single version externally managed
We want --single-version-externally-managed (and --root=/) to make python packages uncompressed (python eggs are zip files) since compression should be a target filesystem responsibility. And we don't need/want multiple versions of the same package in the target since packages should be handled by buildroot on any sane embedded system. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
b9da3bab1e
commit
619146d145
@ -18,8 +18,10 @@ define PYTHON_NETIFACES_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define PYTHON_NETIFACES_INSTALL_TARGET_CMDS
|
||||
(cd $(@D); PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
$(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
|
||||
(cd $(@D); \
|
||||
PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \
|
||||
$(HOST_DIR)/usr/bin/python setup.py install \
|
||||
--single-version-externally-managed --root=/ --prefix=$(TARGET_DIR)/usr)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user