mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-27 21:24:16 -04:00
always pre-setup binproviders
This commit is contained in:
parent
f8e2f7c753
commit
6b47510f70
5 changed files with 13 additions and 1 deletions
|
@ -68,6 +68,11 @@ VENV_PIP_BINPROVIDER = VenvPipBinProvider()
|
|||
LIB_PIP_BINPROVIDER = LibPipBinProvider()
|
||||
pip = LIB_PIP_BINPROVIDER
|
||||
|
||||
SYS_PIP_BINPROVIDER.setup()
|
||||
PIPX_PIP_BINPROVIDER.setup()
|
||||
VENV_PIP_BINPROVIDER.setup()
|
||||
LIB_PIP_BINPROVIDER.setup()
|
||||
|
||||
# ensure python libraries are importable from these locations (if archivebox wasnt executed from one of these then they wont already be in sys.path)
|
||||
assert VENV_PIP_BINPROVIDER.pip_venv is not None
|
||||
assert LIB_PIP_BINPROVIDER.pip_venv is not None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue