aboutsummaryrefslogtreecommitdiffstats
path: root/examples/installer_test
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2019-04-28 15:17:34 +0200
committerChristian Tismer <tismer@stackless.com>2019-04-29 10:19:28 +0000
commit4840fd8440eb3d6cab005f3a5a6a27767c57ec91 (patch)
treee9dfaafea502ab3376ea1e983ce3d69071e0981c /examples/installer_test
parentf3f401315774687f74caa4f5aeb7ec8ef2d5587c (diff)
Fix PyInstaller after removal of COIN glitches
After the COIN problems have been removed, the only remaining problem is PyInstaller, which crashes on macOS with Python 2.7.16 . For a full problem description, see the amendment to "Current COIN Wheel Tester Problems" To simplify a later problem analysis, "pip list" is included. Fixes: PYSIDE-996 Change-Id: Ie607ac190ab703a0b8cbe20483b4b60f81634d9d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/installer_test')
-rw-r--r--examples/installer_test/hello_app.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/installer_test/hello_app.spec b/examples/installer_test/hello_app.spec
index d096ab170..84d6d0029 100644
--- a/examples/installer_test/hello_app.spec
+++ b/examples/installer_test/hello_app.spec
@@ -59,7 +59,14 @@ a = Analysis(['hello.py'],
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
- excludes=[],
+ # 2019-04-28
+ # This hack circumvents a side effect of Python 2.7.16 which leads to a failure
+ # in 'hook-_tkinter.py'. The error is reported. Until it is fixed, we circumvent
+ # the problem by this exclude.
+ # This effect is triggered by installing 'numpy'. It is somewhat special since
+ # the problem does not show up in Python 3.7 . tkinter would have the same
+ # problem on Python 3.7, but numpy would not trigger it for some reason.
+ excludes=['FixTk', 'tcl', 'tk', '_tkinter', 'tkinter', 'Tkinter'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,