Update the python search path for extra qdrouter modules

The latest release of qdrouterd on focal has changed where the
internal python modules are installed.  This patch updates the tox
tests python path configuration.

Change-Id: Icb53ee17af01580d899f388f69be9560e23675e0
This commit is contained in:
Kenneth Giusti 2021-03-15 15:50:33 -04:00 committed by damani42
parent ee5b351742
commit df0e4acdd4

View File

@ -35,6 +35,7 @@ function _setup_global_site_package_path {
SITEDIR=${WORKDIR}/${ENVNAME}/lib/python${MAJOR}.${MINOR}/site-packages
cat > ${SITEDIR}/dispatch.pth <<EOF
/usr/lib/python${MAJOR}.${MINOR}/${PRE}-packages
/usr/lib/python${MAJOR}/${PRE}-packages
EOF
}