I am using version 3.6 but cx_freeze and pyinstaller are not eating it all. Cx_freeze is syntaxError, but you can't do # -*- coding I don't have a clue what to do with the deployment file, what do you do...
python
cx_freeze 5.0.2
Create File
import sys
from cx_Freeze import setup, Executable
setup(
name="Demo",
version="1.0",
description = "Deploy to executable",
author="jdkim",
executables = [Executable(".py", base="Win32GUI")])
#Modify base="base" if not GUI
Build Method Select one of the two with the cmd command in the corresponding folder
1. Python <file.py> build #folder format
2. Python <file.py> bdist_msi #msi installation format
© 2024 OneMinuteCode. All rights reserved.