run archivebox version using python binary

This commit is contained in:
Nick Sweeting 2021-04-24 03:29:01 -04:00
parent 226e26852c
commit fa84f749ff

View file

@ -1006,7 +1006,7 @@ def setup(out_dir: Path=OUTPUT_DIR) -> None:
stderr('\n[√] Set up ArchiveBox and its dependencies successfully.', color='green') stderr('\n[√] Set up ArchiveBox and its dependencies successfully.', color='green')
run_shell([ARCHIVEBOX_BINARY, '--version'], capture_output=False, cwd=out_dir) run_shell([PYTHON_BINARY, ARCHIVEBOX_BINARY, '--version'], capture_output=False, cwd=out_dir)
@enforce_types @enforce_types
def config(config_options_str: Optional[str]=None, def config(config_options_str: Optional[str]=None,