dont try to autodetect whether node, chrome, etc are needed during setup

This commit is contained in:
Nick Sweeting 2021-04-24 03:28:49 -04:00
parent 831d82a7a1
commit 226e26852c

View file

@ -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([