Remove wheel installation
- Blender should handle this for us, we were installing system wide which is bad.
This commit is contained in:
-16
@@ -19,22 +19,6 @@ def register():
|
||||
show_version_error_popup()
|
||||
return
|
||||
|
||||
# Add wheel installation check
|
||||
try:
|
||||
import lz4
|
||||
except ImportError:
|
||||
import os
|
||||
import site
|
||||
import pip
|
||||
wheels_dir = os.path.join(os.path.dirname(__file__), "wheels")
|
||||
if os.path.exists(wheels_dir):
|
||||
for wheel in os.listdir(wheels_dir):
|
||||
if wheel.endswith(".whl"):
|
||||
pip.main(['install', os.path.join(wheels_dir, wheel)])
|
||||
|
||||
# Refresh site packages without modifying sys.path
|
||||
site.addsitedir(site.getsitepackages()[0])
|
||||
|
||||
print("Starting registration")
|
||||
|
||||
# Import modules using relative imports
|
||||
|
||||
Reference in New Issue
Block a user