-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Split up pyinstaller hooks Add linux shared object libraries * Added debug output * Fixed glob * Removed print statements * print amulet_editor hidden imports For some reason on linux a singular module is not being included * Added debug output in build process * Added libegl to ubuntu * Reformatted
- Loading branch information
1 parent
74f5bab
commit fa87d18
Showing
4 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from PyInstaller.utils.hooks import ( | ||
collect_submodules, | ||
) | ||
|
||
hiddenimports = [ | ||
*collect_submodules("OpenGL"), # On my linux install not everything was included. | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import glob | ||
import os | ||
from PyInstaller.utils.hooks import ( | ||
collect_data_files, | ||
collect_submodules, | ||
) | ||
|
||
import PySide6 | ||
|
||
hiddenimports = collect_submodules("PySide6") | ||
binaries = [ | ||
(path, ".") | ||
for path in glob.glob( | ||
os.path.join(glob.escape(PySide6.__path__[0]), "Qt", "lib", "*.so*") | ||
) | ||
] | ||
datas = collect_data_files("PySide6", includes=["*.pyi", "py.typed"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters