mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Tox: use sitepackages
Tox is creating a virtual environment before execution. With python 3.12 the virtual env does not include any more setuptools, so use setuptools from the globally installed packages. Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
parent
8d7bd6c6ab
commit
bf1110bda1
1
tox.ini
1
tox.ini
@ -9,6 +9,7 @@ allowlist_externals={toxinidir}/.tox-install.sh
|
|||||||
# always re-create virtual env. A special install helper is used to configure,
|
# always re-create virtual env. A special install helper is used to configure,
|
||||||
# build and install packages.
|
# build and install packages.
|
||||||
recreate=True
|
recreate=True
|
||||||
|
sitepackages=True
|
||||||
install_command={toxinidir}/.tox-install.sh wheel_bundle {envpython} {envsitepackagesdir} {packages}
|
install_command={toxinidir}/.tox-install.sh wheel_bundle {envpython} {envsitepackagesdir} {packages}
|
||||||
changedir={envdir}
|
changedir={envdir}
|
||||||
setenv=
|
setenv=
|
||||||
|
Loading…
Reference in New Issue
Block a user