mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

The libvirt-python files were installed to dist-packages and this is not part of sys.path in yocto so they were not available to python. Changed this to site-packages. Signed-off-by: Mihai Prica <mihai.prica@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
15 lines
502 B
PHP
15 lines
502 B
PHP
inherit python-dir
|
|
|
|
# Enable the Python tool support
|
|
EXTRA_OECONF += "--with-python=yes --with-python-inc-dir=-I${STAGING_INCDIR}/python${PYTHON_BASEVERSION}"
|
|
|
|
SRC_URI += " file://python_incdir.patch"
|
|
|
|
DEPENDS += "python python-native"
|
|
RDEPENDS_${PN}-python += "python"
|
|
PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python"
|
|
|
|
PACKAGES += "${PN}-python-dbg ${PN}-python"
|
|
FILES_${PN}-python-dbg += "${libdir}/${PYTHON_DIR}/site-packages/.debug/"
|
|
FILES_${PN}-python += "${libdir}/${PYTHON_DIR}/site-packages"
|