I've been working on a game for the past couple of days and I finally finished the step of converting it to an executable with cx_Freeze. I asked one of my friends to test it out to see if it worked on non-python computers, he attempted to run it and he said the program required python. Any way to make the executable independent so python isn't required? Thanks.
import cx_Freeze
executables = [cx_Freeze.Executable("Skillful Sky.py")]
import os
os.environ['TCL_LIBRARY'] = "C:\\Program Files\\Python36\\tcl\\tcl8.6"
os.environ['TK_LIBRARY'] = "C:\\Program Files\\Python36\\tcl\\tk8.6"
cx_Freeze.setup(
name="Skillful Sky",
options={"build_exe": {"packages": ["pygame"], "include_files": ["gameairplane.png", "gameicon.png", "gamesong.wav", "buttonclicksound.wav"]}},
version='1.0.0',
executables = executables
)