mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-20 21:32:06 +02:00
dont try to autodetect whether node, chrome, etc are needed during setup
This commit is contained in:
@@ -915,7 +915,6 @@ def setup(out_dir: Path=OUTPUT_DIR) -> None:
|
||||
stderr('\n[+] Installing enabled ArchiveBox dependencies automatically...', color='green')
|
||||
|
||||
stderr('\n Installing YOUTUBEDL_BINARY automatically using pip...')
|
||||
if USE_YOUTUBEDL:
|
||||
if YOUTUBEDL_VERSION:
|
||||
print(f'{YOUTUBEDL_VERSION} is already installed', YOUTUBEDL_BINARY)
|
||||
else:
|
||||
@@ -942,7 +941,6 @@ def setup(out_dir: Path=OUTPUT_DIR) -> None:
|
||||
raise SystemExit(1)
|
||||
|
||||
stderr('\n Installing CHROME_BINARY automatically using playwright...')
|
||||
if USE_CHROME:
|
||||
if CHROME_VERSION:
|
||||
print(f'{CHROME_VERSION} is already installed', CHROME_BINARY)
|
||||
else:
|
||||
@@ -965,7 +963,6 @@ def setup(out_dir: Path=OUTPUT_DIR) -> None:
|
||||
raise SystemExit(1)
|
||||
|
||||
stderr('\n Installing SINGLEFILE_BINARY, READABILITY_BINARY, MERCURY_BINARY automatically using npm...')
|
||||
if USE_NODE:
|
||||
if not NODE_VERSION:
|
||||
stderr('[X] You must first install node using your system package manager', color='red')
|
||||
hint([
|
||||
|
Reference in New Issue
Block a user