fix archivebox install not using LIB_DIR

This commit is contained in:
Nick Sweeting 2024-11-19 04:44:43 -08:00
parent 6740202d78
commit ee548eb16e
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View file

@ -63,9 +63,13 @@ class LibPipBinProvider(PipProvider):
super().setup()
SYS_PIP_BINPROVIDER = SystemPipBinProvider()
SYS_PIP_BINPROVIDER.setup()
PIPX_PIP_BINPROVIDER = SystemPipxBinProvider()
PIPX_PIP_BINPROVIDER.setup()
VENV_PIP_BINPROVIDER = VenvPipBinProvider()
VENV_PIP_BINPROVIDER.setup()
LIB_PIP_BINPROVIDER = LibPipBinProvider()
LIB_PIP_BINPROVIDER.setup()
pip = LIB_PIP_BINPROVIDER
# ensure python libraries are importable from these locations (if archivebox wasnt executed from one of these then they wont already be in sys.path)