Update install.py
parent
b8f5ef7a59
commit
3d816ff621
12
install.py
12
install.py
|
|
@ -7,25 +7,25 @@ def update_transparent_background():
|
|||
v = meta_version("transparent-background")
|
||||
print("current transparent-background " + v)
|
||||
if version.parse(v) < version.parse('1.2.3'):
|
||||
launch.run_pip("install -U transparent-background", "update transparent-background version for Ebsynth Utility")
|
||||
launch.run_pip("install -U transparent-background", "update transparent-background version for Ebsynth Utility Lite")
|
||||
|
||||
# Check if user is running an M1/M2 device and, if so, install pyvirtualcam, which is required for updating the transparent_background package
|
||||
# Note that we have to directly install from source because the prebuilt PyPl wheel does not support ARM64 machines such as M1/M2 Macs
|
||||
if platform.system() == "Darwin" and platform.machine() == "arm64":
|
||||
if not launch.is_installed("pyvirtualcam"):
|
||||
launch.run_pip("install git+https://github.com/letmaik/pyvirtualcam", "requirements for Ebsynth Utility")
|
||||
launch.run_pip("install git+https://github.com/letmaik/pyvirtualcam", "requirements for Ebsynth Utility Lite")
|
||||
|
||||
if not launch.is_installed("transparent_background"):
|
||||
launch.run_pip("install transparent-background", "requirements for Ebsynth Utility")
|
||||
launch.run_pip("install transparent-background", "requirements for Ebsynth Utility Lite")
|
||||
|
||||
update_transparent_background()
|
||||
|
||||
if not launch.is_installed("IPython"):
|
||||
launch.run_pip("install ipython", "requirements for Ebsynth Utility")
|
||||
launch.run_pip("install ipython", "requirements for Ebsynth Utility Lite")
|
||||
|
||||
if not launch.is_installed("seaborn"):
|
||||
launch.run_pip("install ""seaborn>=0.11.0""", "requirements for Ebsynth Utility")
|
||||
launch.run_pip("install ""seaborn>=0.11.0""", "requirements for Ebsynth Utility Lite")
|
||||
|
||||
if not launch.is_installed("color_matcher"):
|
||||
launch.run_pip("install color-matcher", "requirements for Ebsynth Utility")
|
||||
launch.run_pip("install color-matcher", "requirements for Ebsynth Utility Lite")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue