Last active
April 26, 2021 08:57
-
-
Save Rishi-Bidani/da92cd3a80f5941ef8c535003f2f5c4e to your computer and use it in GitHub Desktop.
Cx_Freeze setup for packaging python projects to exe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
py setup.py build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cx_Freeze | |
from cx_Freeze import * | |
setup ( | |
name = "Name", | |
version='1.0', | |
description="Some desc", | |
options = {'build_exe':{'packages': ['pygame','someOtherPackage']}}, | |
executables = [Executable("Name.py",)] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment