Turning distant included modules to bytecode in folder

1 Message Forum Options Options
Permalink
Cordilow
Turning distant included modules to bytecode in folder
Reply Threaded More
Print post
Permalink
Is there a way to include modules from some installed library, and then when you compile your project to bytecode also have the included modules be compiled and included in your folder?  This would be nice since people using it in future wouldn't have to download all the dependencies.  For instance, they wouldn't have to install WxPython to use the program.

I don't know if this is possible with WxPython.  Does anyone know?

I know it is possible with many other libraries, though (at least, if you do it manually, I mean), and so being able to have this automatic would still be useful.  I just hope it can happen with WxPython.  Manually trying it with WxPython, though, is not so convenient as with something like PyGame for some odd reason (i.e. getting and modifying the sprite module from PyGame is pretty easy, but getting and modifying wx.Frame on the other hand seems a little more involved, and there don't seem to be files named after each module).