[Ironpython-users] Distributing apps

Jeff Hardy jdhardy at gmail.com
Fri Mar 2 18:57:46 CET 2012


On Fri, Mar 2, 2012 at 9:33 AM,  <mchalkley at mail.com> wrote:
> Ok, thanks - that got me a long ways past where I was. The exe that it
> builds doesn't include the standard python library stuff, like string,
> even though it's in an import statement. So do I have to explicitly
> include everything like that (datetime, sys, re, etc) in the pyc.py
> command, or is there a better way to do it?

Your best bet is probably to put the standard library in a zip file
and use zipimport. That's how Mercurial does it, for example.

- Jeff


More information about the Ironpython-users mailing list