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