mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-15 15:44:26 -04:00
dont try to autodetect whether node, chrome, etc are needed during setup
This commit is contained in:
parent
831d82a7a1
commit
226e26852c
1 changed files with 85 additions and 88 deletions
|
@ -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([
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue