Skip to content

Commit 5312e18

Browse files
Update pyDataView.spec
Found on MacOS hidden_imports cause the missing 32 bit library error during hook import, so remove them
1 parent 8dab9de commit 5312e18

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

pyDataView.spec

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ data_files = [
1313
(os.path.join(os.path.dirname(vispy.io.__file__), "_data"), os.path.join("vispy", "io", "_data"))
1414
]
1515

16-
hidden_imports = [
17-
"vispy.ext._bundled.six",
18-
"vispy.app.backends._wx",
19-
]
16+
if is_darwin:
17+
hidden_imports = []
18+
else:
19+
hidden_imports = [
20+
"vispy.ext._bundled.six",
21+
"vispy.app.backends._wx",
22+
]
2023

2124
a = Analysis(['pyDataView.py'],
2225
pathex=[],

0 commit comments

Comments
 (0)