Attachment 'setup.py'
Download 1 # setup.py
2
3 """
4
5 Distributing application.
6
7 """
8
9 #-------------------------------------------------------------------------------
10 # Import cx_Freeze packages.
11 #-------------------------------------------------------------------------------
12
13 from cx_Freeze import setup, Executable
14
15
16 # Dependencies are automatically detected, but it might need fine tuning.
17 options = {"packages": [], "excludes": ["tkinter"]}
18
19 #-------------------------------------------------------------------------------
20 # Application Information - Create setup.
21 #-------------------------------------------------------------------------------
22
23 setup(name="sample_one" ,
24 version="0.1" ,
25 description="Test",
26 author="wxPython",
27 options={"build_exe": options},
28 executables = [Executable(script="sample_one.py",
29 base="Win32GUI",
30 icon="icon_wxWidgets.ico")])
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.