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

Re: [pygame] Can pygame have all compiled modules in one file ?



> I don't think it could be done without rewriting how pygame modules work 
> with each other. There are probably ways you could clean up a py2exe 
> distribution. First you could just hardcode some subdirectories into the 
> sys.path and after you build the executable, move the PYDs and DLLs into 
> that directory. I'm pretty sure all the DLL's will be found as long as 
> they are in the same directory as the PYD.
> 
> I've saw someone had a project where they hacked py2exe to put the PYD 
> files into a subdirectory. Can't remember anything else about it, but it 
> exists out there somewhere.

That would work also. Thanks, I'll search for it...
Dmitry/