Run Python binaries under Windows XP -


i compiled pyside application both x32 , x64 mode , it's work under windows 7+. found application can't start under windows xp.

should use tricks in spec-file additionally?

current pyinstaller script shown below in app.spec file:

pyinstaller src/app.spec

# -*- mode: python -*- import os import platform  pyside import qtcore   onefile = false console = false  platform_name = platform.system().lower() app_name = {'linux': 'app',             'darwin': 'app',             'windows': 'app.exe'}[platform_name]  # include imageformats plugins plugins=os.path.join(os.path.dirname(qtcore.__file__), "plugins\\imageformats") static_files = tree(plugins, 'plugins\\imageformats') static_files += [('app.ico', 'src\\app.ico', 'data')]  # analyze sources = analysis(['src\\app.py'],              hiddenimports=['pkg_resources'],              hookspath=none,              runtime_hooks=none)  pyz = pyz(a.pure)  if onefile:     exe = exe(pyz, a.scripts, a.binaries, a.zipfiles, a.datas, name=app_name,         debug=false, strip=none, upx=true, console=console, icon='src/app.ico', version='src/app.ver') else:     exe = exe(pyz, a.scripts, exclude_binaries=true, name=app_name, debug=false,         strip=none, upx=true, console=console, icon='src/app.ico', version='src/app.ver')     coll = collect(exe, a.binaries, static_files, a.zipfiles, a.datas, strip=none, upx=true, name='app') 

eventually, found core problems related issue:


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -