fix: package installation setup errors
This commit is contained in:
@ -20,9 +20,9 @@ from bpy.app.handlers import persistent
|
|||||||
from . import environment, utils
|
from . import environment, utils
|
||||||
|
|
||||||
DEPENDENCIES = {
|
DEPENDENCIES = {
|
||||||
"zmq",
|
("zmq","zmq"),
|
||||||
"umsgpack",
|
("umsgpack","umsgpack"),
|
||||||
"pyyaml"
|
("yaml","pyyaml")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -139,6 +139,6 @@ def setup(dependencies, python_path):
|
|||||||
if not module_can_be_imported("pip"):
|
if not module_can_be_imported("pip"):
|
||||||
install_pip()
|
install_pip()
|
||||||
|
|
||||||
for dep in dependencies:
|
for module_name,package_name in dependencies:
|
||||||
if not module_can_be_imported(dep):
|
if not module_can_be_imported(module_name):
|
||||||
install_package(dep)
|
install_package(package_name)
|
||||||
|
Reference in New Issue
Block a user