Little tool - but very big size... :-(
Martin Franklin
mfranklin1 at gatwick.westerngeco.slb.com
Tue Feb 21 05:17:53 EST 2006
Durumdara wrote:
> Dear Martin !
>
> Thanx for it:
>
> setup(
> options = {"py2exe": {"bundle_files": 1, # <================ this
> help me !!!!!!!!!!!!
> "compressed": 1,
> "optimize": 2}},
> # The lib directory contains everything except the executables and
> the python dll.
> # Can include a subdirectory name.
> windows = [wxPyHDDirList],
> )
>
> Can I increase level of the optimization ?
> Can I increase level of the zip packing ?
Sorry, I have not used py2exe for some time, you would be better to ask
this question on the py2exe list:
https://lists.sourceforge.net/lists/listinfo/py2exe-users
or read their documentation
http://www.py2exe.org/ or Wiki
http://starship.python.net/crew/theller/moin.cgi/Py2Exe
in particular...
http://starship.python.net/crew/theller/moin.cgi/BetterCompression
HTH
>
> Please help me: dd
>
>
> Martin Franklin wrote:
>
>> Durumdara wrote:
>>
>>
>>> Hi !
>>>
>>> I have a problem.
>>> I have a little tool that can get data about filesystems and wrote it in
>>> python.
>>>
>>> The main user asked me a GUI for this software.
>>>
>>> This user is needed a portable program, so I create this kind of the
>>> software with Py2Exe.
>>>
>>> But it have very big size: 11 MB... :-(
>>>
>>> I need to have more compressed result. Can I compress dll-s, pyd-s with
>>> Py2Exe ?
>>> Can I decrease the total size with something ?
>>>
>>>
>>
>>
>> you could try UPX http://upx.sourceforge.net/ I think it will handle
>> the .pyd and dll files (it did the last time I tested it)
>>
>>
>>
>>
>>> If not, how to I create an self-unpackager and self-starter program that
>>> use an temporary directory in the disk ? With WinRar ?
>>>
>>>
>> I may be wrong (havn't used py2exe in a while) but I think it can now
>> (again) create a single exe file? Otherwise something like Inno Setup
>> http://www.jrsoftware.org/isinfo.php or a simple self extracting zip
>> file
>>
>>
>>
>>
>>
>>> Thanx for help:
>>> dd
>>>
>>>
>>>
>>>
>>>
>>
>>
>
More information about the Python-list
mailing list