Skip to content

Commit

Permalink
Disable window provider selection to remove glfw dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
rayzchen committed Jul 10, 2023
1 parent dac812e commit d336ea8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def checkTools():
for req in ["pyopengl", "pysdl2", "pysidesix-frameless-window"]:
wheels[0][req] = PypiLinkGetter.getLink(VERSION, ARCH, req)
for req in ["pyopengl_accelerate", "pysdl2_dll", "pillow", "pyglm", "numpy",
"pyside6", "shiboken6", "pyside6_essentials", "glfw", "pywin32"]:
"pyside6", "shiboken6", "pyside6_essentials", "pywin32"]:
wheels[1][req] = PypiLinkGetter.getLink(VERSION, ARCH, req)

def download(url, dest):
Expand Down
3 changes: 3 additions & 0 deletions pyunity_editor/cli.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Disable window provider selection
import os
os.environ["PYUNITY_WINDOW_PROVIDER"] = "0"
from .splash import start
from .local import fixPackage, redirect_out, restore_out
from time import strftime
Expand Down

0 comments on commit d336ea8

Please sign in to comment.