Re: [pygame] Executable creation blues

2006-09-29 Thread Greg Ewing
Bob Ippolito wrote: Since when? py2exe and py2app are almost the same until you start using platform specific features. You may be right about that. I just tried to check by visiting the websites of both to consult the docs, but from what's there, it's quite hard to tell. Neither of them

Re: [pygame] Executable creation blues

2006-09-29 Thread Greg Ewing
Bob Ippolito wrote: tkinter is imported (conditionally) by a few things you wouldn't normally expect, such as PIL and pydoc. My bet is on PIL. It may have been something like that. But if I explicitly put it in the excludes list, I would expect it to trust that I know what I'm talking about.

Re: [pygame] Executable creation blues

2006-09-28 Thread Jasper
Luke Paireepinart wrote: I'm struggling to grasp py2exe's arcane innards, as it's changed significantly since I last used it, and so far it just doesn't work. I'm sure I can eventually grovel through source and get it to work, but there's got to be something better! Except I can't find

Re: [pygame] Executable creation blues

2006-09-28 Thread Luke Paireepinart
Jasper wrote: Luke Paireepinart wrote: I'm struggling to grasp py2exe's arcane innards, as it's changed significantly since I last used it, and so far it just doesn't work. I'm sure I can eventually grovel through source and get it to work, but there's got to be something better! Except

Re: [pygame] Executable creation blues

2006-09-28 Thread Brian Fisher
Hey Jasper, It does seem like an obscure and difficult problem, but at least it seems to be one a lot of people are having :) the py2exe mailing list archive had this snippet for your exact problem: I resolved that issue by adding the file ...\Python24\Lib\site-packages\numpy\core\_internal.pyc

Re: [pygame] Executable creation blues

2006-09-28 Thread Sami Hangaslammi
I'd still like to hear why the original poster found PyPack unsuitable, (so that I could improve it), since it, for example, gets around both of the numpy/Numeric problems posted by Brian. -- Sami Hangaslammi

Re: [pygame] Executable creation blues

2006-09-28 Thread Jasper
Luke Paireepinart wrote: I'm sensing some python-hatin' going on here ;) Let me just point out that cpython is meant to be installed on the target machine once, not redistributed. Since it wasn't designed for that, trying to make it into a nice, neat little package doesn't work all that well.

Re: [pygame] Executable creation blues

2006-09-28 Thread Jasper
Sami Hangaslammi wrote: I'd still like to hear why the original poster found PyPack unsuitable, (so that I could improve it), since it, for example, gets around both of the numpy/Numeric problems posted by Brian. Partly because it apparently didn't like having an entry script somewhere other

Re: [pygame] Executable creation blues

2006-09-28 Thread Bob Ippolito
On 9/28/06, Jasper [EMAIL PROTECTED] wrote: Sami Hangaslammi wrote: I'd still like to hear why the original poster found PyPack unsuitable, (so that I could improve it), since it, for example, gets around both of the numpy/Numeric problems posted by Brian. Partly because it apparently

Re: [pygame] Executable creation blues

2006-09-28 Thread Jasper
Bob Ippolito wrote: On 9/28/06, Jasper [EMAIL PROTECTED] wrote: Sami Hangaslammi wrote: I'd still like to hear why the original poster found PyPack unsuitable, (so that I could improve it), since it, for example, gets around both of the numpy/Numeric problems posted by Brian. Partly

Re: [pygame] Executable creation blues

2006-09-28 Thread Bob Ippolito
On 9/28/06, Greg Ewing [EMAIL PROTECTED] wrote: Bob Ippolito wrote: The other pathological case is where a C extension invokes the import machinery, which happens a bunch in the stdlib (e.g. importing codecs, warnings, etc.). py2app has complete coverage of these scenarios in the stdlib (as

Re: [pygame] Executable creation blues

2006-09-28 Thread Jasper
Greg Ewing wrote: Jasper wrote: The resulting .exe can't find all of it's needed parts, and apparently includes a vast array of stuff that isn't needed. This is tangential to the OP's problem, but last time I tried to use py2exe, it seemed to insist on including tkinter in the executable,

Re: [pygame] Executable creation blues

2006-09-27 Thread Sami Hangaslammi
On 9/27/06, Jasper [EMAIL PROTECTED] wrote: Pypack? Based on a non-robust premise, and thus doesn't work for me. What kind of use-case do you have? Maybe I could customize Pypack to fit your needs. -- Sami Hangaslammi

[pygame] Executable creation blues

2006-09-26 Thread Jasper
I've been mucking around with creating executables so that I don't have to ship python in order for people to play my game, and am having a disheartening amount of trouble sorting out what should be a basic step. I'm struggling to grasp py2exe's arcane innards, as it's changed significantly

Re: [pygame] Executable creation blues

2006-09-26 Thread Brian Fisher
I found the newer versions of py2exe to be very easy to use, and the latest version seems to have fixed problems I had when I tried it before (stuff with packaging pyOpenGL). Some packages are very large (notably wxPython) but I highly recommend it as the only practical method of distribution on