Skip to content
Snippets Groups Projects
Unverified Commit 9f7ea105 authored by David Hoese's avatar David Hoese
Browse files

Add six import for vispy to not complain when building an executable

This wasn't needed in the past and I'm not sure what changed, but this seemed to fix the build. After running `pyinstaller sift.spec` then running the `dist/bin/SIFT.exe` file would raise an error from vispy about the version of six. It is mentioned in this vispy github issue:
https://github.com/vispy/vispy/issues/1074
parent 9d5e4d52
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ a = Analysis(['cspov\\__main__.py'],
pathex=['Z:\\repos\\repos\\git\\CSPOV\\py'],
binaries=None,
datas=data_files,
hiddenimports=["vispy.app.backends._pyqt4", "PyQt4.QtNetwork", "scipy.linalg", "scipy.linalg.cython_blas", "scipy.linalg.cython_lapack", "scipy.integrate"],
hiddenimports=["vispy.ext._bundled.six", "vispy.app.backends._pyqt4", "PyQt4.QtNetwork", "scipy.linalg", "scipy.linalg.cython_blas", "scipy.linalg.cython_lapack", "scipy.integrate"],
hookspath=None,
runtime_hooks=None,
excludes=["tkinter"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment