[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] py2exe



Here's the script I've used sometimes -- replace the
script "anathema.py" with the name of your script.

To run:
python setup.py

Lastly -- py2exe does not work properly with python
2.4, so make sure to use 2.3 instead.

from distutils.core import setup
import py2exe
import sys

sys.argv.append("py2exe")
setup(	options={"py2exe":{"dist_dir":"dist"}},
        windows=[ {"script":'anathema.py'}]
	)


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com