I just created a small game w/ the PyGame library. I also figured out how to convert a PyGame to an executable through cx_Freeze's application's setup.py script.
But, when opening the build folder there is no "executable" but only the exe.macosx-10.9-x86_64-3.7 folder containing a lib folder and a Python and pythonGame (name of the original file) file.
here is my code of the setup (which is pretty straightforward and as much default as it can be):
import cx_Freeze
executables = [cx_Freeze.Executable("pythonGame.py")]
cx_Freeze.setup(
name="Game",
options={"build_exe": {"packages":["pygame"],
"include_files":["myimage.png"]}}, #icon
executables = executables
)
What could be the problem for not having the executable after running this setup.py script? I thank you for your help in advance. P.s.: I already tried other setup.py files as well as changed all fonts to system fonts.