Remove wheel installation

- Blender should handle this for us, we were installing system wide which is bad.
This commit is contained in:
Yusarina
2025-03-27 21:05:59 +00:00
parent 9a0521dad5
commit 77b7b429a5
-16
View File
@@ -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