mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-14 11:06:13 +05:00
Isolate system docs from checkout virtualenv
This commit is contained in:
parent
2349f3415f
commit
37f2f11482
@ -413,6 +413,13 @@ def run_snippets(snippet_ids: tuple[str, ...]) -> None:
|
||||
"WGET_BINARY",
|
||||
):
|
||||
snippet_env.pop(inherited_binary, None)
|
||||
for inherited_python_env in (
|
||||
"PYTHONHOME",
|
||||
"PYTHONPATH",
|
||||
"UV_PROJECT_ENVIRONMENT",
|
||||
"VIRTUAL_ENV",
|
||||
):
|
||||
snippet_env.pop(inherited_python_env, None)
|
||||
snippet_env.update(
|
||||
{
|
||||
"HOME": str(system_home),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user