pip install cx-Freeze
python
from cx_Freeze import setup, Executable
target = Executable(
script="main.py",
)
options = {
"build_exe": {
}
}
setup(
name="MyApp",
version="1.0",
description="My Application",
options=options,
executables=[target]
)
python setup.py build