[Tutor] p2exe and icons

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Fri Jan 9 14:28:43 EST 2004



On Fri, 9 Jan 2004, Danny Yoo wrote:

>
>
> On Thu, 8 Jan 2004, Trent Brown wrote:
>
> > thanks for replying. I'm actually running 2000 which is perplexing (I
> > had the same thought also)
>
> Hi Trent,
>
>
> Hmmm.... I have to admit that I'm stumped then.  I'm not quite sure what
> to suggest next.
>
>
> I think it's time you talk with the pygame folks!  *grin*


Hi Trent,

Oh my gosh, I screwed that up big time.  I mean py2exe, not pygame.  I'm
having a bad day today.


I just noticed that in the original call to py2exe, the --icon option is
missing an argument:


###
C:\Data\Python\Compile\Demo1a>python setup.py py2exe --icon
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: option --icon not recognized
###



Do you get an error if you do:

    C:\Data\Python\Compile\Demo1a>python setup.py py2exe --icon icon.ico

from the command line?  Also, what version of py2exe are you running?



Again, my apologies.  I need to get my morning coffee.




More information about the Tutor mailing list