# A very simple setup script to create 2 executables. # # hello.py is a simple "hello, world" type program, which runs in the console # # canvasDemo.py is a simple program that uses the Tkinter package to make # a simple line drawing tool. Left click to draw lines, right click to # delete lines. # It will be converted into a windows program WITHOUT a console! # # # Run the build process by entering 'setup.py py2exe' or # 'python setup.py py2exe' in a console prompt. # # If everything works well, you should find a subdirectory named 'dist' # containing some files, among them hello.exe and bouncingBall.exe. from distutils.core import setup import py2exe setup( # The first three parameters are not required, if at least a # 'version' is given, then a versioninfo resource is built from # them and added to the executables. version = "0.5.0", description = "py2exe sample script", name = "py2exe samples", # targets to build windows = ["canvasDemo24.py"], console = ["hello.py"], )