py2exe and library.zip

Thomas Heller theller at python.net
Wed May 4 09:27:10 EDT 2005


Timothy Smith <timothy at open-networks.net> writes:

> is it possible instead of py2exe putting all library's in a zip file,
> to just put them in a sub dir?

You can subclass the build_exe command (the extending sample shows how
to do this, althoutgh for a different purpose), and copy the files into
a sub dir instead of building an archive.  You still have to make sure
that your exe has this directory on sys.path.

Thomas



More information about the Python-list mailing list