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