I want py2exe not to create library.zip
Grant Edwards
grante at visi.com
Wed Sep 12 19:41:20 EDT 2007
On 2007-09-12, Rob Williscroft <rtw at freenet.co.uk> 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!!
More information about the Python-list
mailing list