[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] py2exe
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] py2exe
- From: Phil Hassey <philhassey@xxxxxxxxx>
- Date: Fri, 8 Jul 2005 19:08:17 -0700 (PDT)
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Fri, 08 Jul 2005 22:08:31 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AnWGuVbcaPt7d4su1CSTUDlpgEZX9XzMbU8iGTytxYZQ5joPocOmMkzUIqO4zLjJHZxyzi6wzA53d6TSJxrohQsJp6nTUZSndXsOMxRhk0QB5CaBsZl6NP7IZcUyjyb5q8jIzNy+pitfiTkcifGqA30IJwfLqLbVEXDYogIEaG0= ;
- In-reply-to: <8daabe56050708171978d585dd@mail.gmail.com>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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