mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
split CrawlSetup into Install phase with new Binary + BinaryRequest events
This commit is contained in:
@@ -110,7 +110,11 @@ def _installed_binary_config_overrides(plugins: dict[str, Plugin]) -> dict[str,
|
||||
node_modules_dir = node_modules_dir or resolved_path.parent.parent
|
||||
npm_home = npm_home or resolved_path.parent.parent.parent
|
||||
shared_lib_dir = shared_lib_dir or resolved_path.parent.parent.parent.parent
|
||||
elif resolved_path.parent.name == "bin" and resolved_path.parent.parent.name == "venv" and resolved_path.parent.parent.parent.name == "pip":
|
||||
elif (
|
||||
resolved_path.parent.name == "bin"
|
||||
and resolved_path.parent.parent.name == "venv"
|
||||
and resolved_path.parent.parent.parent.name == "pip"
|
||||
):
|
||||
pip_bin_dir = pip_bin_dir or resolved_path.parent
|
||||
pip_home = pip_home or resolved_path.parent.parent.parent
|
||||
shared_lib_dir = shared_lib_dir or resolved_path.parent.parent.parent.parent
|
||||
|
||||
Reference in New Issue
Block a user