Skip to content

Commit d1d3824

Browse files
authored
Add GL backends to pyinstaller hidden imports (#2764)
* Add GL backends to pyinstaller hidden imports * Update changelog
1 parent 539dd7e commit d1d3824

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Arcade [PyPi Release History](https://pypi.org/project/arcade/#history) page.
55

66
## Unreleased
77

8+
- PyInstaller
9+
- Fixed an issue where imports for backends for the `arcade.gl` package could not be discovered by PyInstaller.
10+
Since 3.3.0 users have needed to add these hidden imports via the pyinstaller CLI in order for Arcade to work.
11+
812
- GUI
913
- Fix a bug, where the caret of UIInputText was misplaced after resizing the widget
1014
- Use incremental layout for UIScrollArea to improve performance of changing text

arcade/__pyinstaller/hook-arcade.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
"Only Linux, Mac, and Windows are supported."
2323
)
2424

25+
hiddenimports = ["arcade.gl.backends.opengl.provider", "arcade.gl.backends.opengl"]
26+
2527
datas = []
2628
binaries = []
2729

0 commit comments

Comments
 (0)