Don't install superbooga by default

This commit is contained in:
oobabooga 2023-05-09 14:17:08 -03:00 committed by GitHub
parent 29727c6502
commit b8cfc20e58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,9 @@ def update_dependencies():
run_cmd("python -m pip install -r requirements.txt --upgrade", assert_success=True, environment=True) run_cmd("python -m pip install -r requirements.txt --upgrade", assert_success=True, environment=True)
extensions = next(os.walk("extensions"))[1] extensions = next(os.walk("extensions"))[1]
for extension in extensions: for extension in extensions:
if extension in ['superbooga']: # No wheels available for dependencies
continue
extension_req_path = os.path.join("extensions", extension, "requirements.txt") extension_req_path = os.path.join("extensions", extension, "requirements.txt")
if os.path.exists(extension_req_path): if os.path.exists(extension_req_path):
run_cmd("python -m pip install -r " + extension_req_path + " --upgrade", assert_success=True, environment=True) run_cmd("python -m pip install -r " + extension_req_path + " --upgrade", assert_success=True, environment=True)