Make an *.EXE Using Python.
brakedon at hotmail.com
Mon Jul 9 03:24:34 CEST 2001
"EricIDLE" <grayson-wilson at home.com> wrote in message news:<oAI17.647550$166.13393459 at news1.rdc1.bc.home.com>...
> I was wondering is there a way to make a exe using Python?
> I seem to remeber vagely that there was a "Make EXE" choice under the file
> menu but its no longer there (If it ever was) so if you can give me a hand
> with this it would be great.
You will need to create a "setup.py" file. Here is the working code that I use.
from distutils.core import setup
setup(name = "filename", #not sure what this does, but it doesn't hurt anything
version = "1.0", #meta info, shows up in the exe you make
author = "John Doe", #meta info, your name
author_email = "johndoe at somewhere.com",#meta info, author email
scripts = ["yourfile.py"])#target script, the script you want to make an
More information about the Python-list