py2exe questions
robert
no-spam at no-spam-no-spam.invalid
Sat Nov 4 07:20:23 EST 2006
Thomas Heller wrote:
> Larry Bates schrieb:
>> Doug Stell wrote:
>>> I have 2 questions about py2exe or any similar utility.
>>>
>>> 1. Is it possible to create a single Windows executable that does not
>>> blow out to a folder full of files and can be called from scripts
>>> using command line arguments?
>>>
>>> 2. If the above can be done, it is possible to hide parts of the
>>> Python source code from users? These users are software developers,
>>> but we don't want them to see how the code does what it does.
>>>
>>> thanks, doug
>> py2exe reduce the number of files you need to distribute down to 4:
>>
>> msvcr71.dll
>> w9xpopen.exe (Windows/98 support)
>> library.zip (all .pyo, .pyd, and .dll files)
>> applcation.exe
>
> It can easily be reduced to 2 files by 'embedding' the libray.zip
> into the exe (use the zipfile=None option), and deleting the w9xpopen.exe
> if you don't need win98 support.
and finally you can use Python2.3 to avoid msvcr71.dll
-robert
More information about the Python-list
mailing list