[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Pygame2Exe problems
- To: pygame-users@seul.org
- Subject: Re: [pygame] Pygame2Exe problems
- From: Tom Flanagan <theknio@gmail.com>
- Date: Tue, 7 Dec 2004 13:01:37 -0700
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Tue, 07 Dec 2004 15:03:52 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=uL/vYnxkW5TLEvN3De8/R9O+lDctvNynyUXbr8r2c93M6Zbc/1AOnnMPq3CH7FaTwd7Xxey0iY99xbJiMsnhtQg2eNCi35vZejBi6gby8hjCtYUv0t2/HMxnjnc7u3bbLs9Pi/13mqLc3cm2ozeUswhs3GhoDwg10zi0/chDny4=
- In-reply-to: <341bc36204120709333f5b2bda@mail.gmail.com>
- References: <341bc36204120709333f5b2bda@mail.gmail.com>
- Reply-to: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
Hi, the --console and --force arguments are depreciated in newer
py2exe versions.
they are now part of the setup() call.scroll down a bit on
http://starship.python.net/crew/theller/py2exe/ and it describes the
new usage.
should look something like this:
# setup.py
from distutils.core import setup
import py2exe
setup(console=["myscript.py"])
#
python setup.py py2exe
-Knio
On Tue, 7 Dec 2004 09:33:10 -0800, Zak Arntson <zak.arntson@gmail.com> wrote:
> I'm using Python 2.3.4, Pygame 1.6 and py2exe 0.5.4
>
> When I run the pygame2exe.py script I get an error message telling me
> that --force is not a valid argument. So I remove that, and it turns
> out --console isn't valid. Anyone have the same issues? It seems like
> I'm not running things properly.
>
> I've set my variables to the following:
> script = "glob.py" #name of starting .PY
> icon_file = "" #ICO file for the .EXE (not working well)
> optimize = 2 #0, 1, or 2; like -O and -OO
> dos_console = 0 #set to 0 for no dos shell when run
> extra_data = ['readme.txt'] #extra files/dirs copied to game
> extra_modules = ['pygame.locals'] #extra python modules not auto found
>
> Thanks. I have some game programming demos that I'm hoping to show,
> and I don't want to have to install Python and Pygame onto somebody's
> machine.
>
> --
> Zak Arntson
> http://www.harlekin-maus.com - Games - Lots of 'em
>