Show sdkit installation progress during the first run

This commit is contained in:
cmdr2 2023-04-21 15:49:38 +05:30
parent fea77e97a0
commit 2e84a421f3

View File

@ -45,7 +45,7 @@ def install(module_name: str, module_version: str):
install_cmd = f"python -m pip install --upgrade {module_name}=={module_version}" install_cmd = f"python -m pip install --upgrade {module_name}=={module_version}"
if index_url: if index_url:
install_cmd += f" --index-url {index_url}" install_cmd += f" --index-url {index_url}"
if module_name == "sdkit": if module_name == "sdkit" and version("sdkit") is not None:
install_cmd += " -q" install_cmd += " -q"
print(">", install_cmd) print(">", install_cmd)