I am trying to convert my Python app to executable, I found that cx_Freeze would be easiest to modify and use it for my needs.
This is my setup.py
script:
from cx_Freeze import setup, Executable
includefiles = ['Leaderboard.txt']
includes = ['PyQt4.QtGui', 'PyQt4.QtCore', 'functools.partial', 'multiprocessing.Process', 'sys']
setup(
name = 'App',
version = '1.0',
description = 'Description',
author = 'ShellRox',
options = {'build_exe': {'include_files':includefiles}},
executables = [Executable('Project.py', copyDependentFiles=True)]
)
Full code here.
For some reason, i am getting this error:
error: [Errno 2] No such file or directory: 'QtDesigner.framework/Versions/4/QtDesigner'
Full log here.
However i am not entirely sure what can the problem be, After doing some research i found only one result matching my problem and it wouldn't help at all ( I removed packages though ).
I also added only submodules in includes
but it still wouldn't help, my guess is it was not looking for modules.
One thing that makes me wonder is if there is something associated with my reseources.py
file.
I also tried adding QtDesigner location file to Path which didn't update anything else in progress.
Question:
What can the problem be? How can i blacklist it in cx_Freeze so it wont search for QtDesigner framework (If it is not useful), or do i need to add location in path so it can look for Qt Designer (If so, where would the path be?).