mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-31 19:53:17 +08:00
oops; blew away old check
This commit is contained in:
parent
e101bcb65d
commit
5918b6cb54
@ -759,6 +759,11 @@ def checkenv() -> None:
|
||||
capture_output=True).returncode != 0:
|
||||
raise CleanError(f'curl is required; please install it.')
|
||||
|
||||
# Make sure they've got our target python version.
|
||||
if subprocess.run(['which', PYTHON_BIN], check=False,
|
||||
capture_output=True).returncode != 0:
|
||||
raise CleanError(f'{PYTHON_BIN} is required; please install it.')
|
||||
|
||||
# Make sure they've got pip for that python version.
|
||||
if subprocess.run(f"{PYTHON_BIN} -m pip --version",
|
||||
shell=True,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user