
grante at visi
Sep 12, 2007, 4:41 PM
Post #5 of 8
(149 views)
Permalink
|
|
Re: I want py2exe not to create library.zip
[In reply to]
|
|
On 2007-09-12, Rob Williscroft <rtw [at] freenet> wrote: > On Wed, 12 Sep 2007 22:09:30 +0200, Laszlo Nagy wrote: > >> Hi, >> >> I want py2exe not to create library.zip. My reason is that the installed >> program will be a self updating program, and it must be able to download >> changes (newer python source files) from the server. So the files should >> not be in library.zip. I tried the --bundle option but apparently it can >> only be used to make the distribution __more__ bundled. > > In your setup.py, after the call to setup(), use zipfile.ZipFile > to extract the "library.zip" into a directory called "library" then > delete the .zip. Don't do that. Use the "skip_archive" option to tell it not to create the zip file. -- Grant Edwards grante Yow! Here I am in 53 at B.C. and all I want is a visi.com dill pickle!! -- http://mail.python.org/mailman/listinfo/python-list
|