🐛 don't exit on missing dependency

This commit is contained in:
Ondrej Samohel 2023-01-26 14:52:00 +01:00
parent b0bf9a4a5c
commit e03d021536
No known key found for this signature in database
GPG key ID: 02376E18990A97C6

View file

@ -130,8 +130,10 @@ def install_thirdparty(pyproject, openpype_root, platform_name):
_print("trying to get universal url for all platforms")
url = v.get("url")
if not url:
_print("cannot get url", 1)
sys.exit(1)
_print("cannot get url for all platforms", 1)
_print((f"Warning: {k} is not installed for current platform "
"and it might be missing in the build"), 1)
continue
else:
url = v.get(platform_name).get("url")
destination_path = destination_path / platform_name