[python-win32] Re: Python-win32 Digest, Vol 18, Issue 22
Niki Spahiev
niki at vintech.bg
Tue Sep 21 14:26:56 CEST 2004
Mark English wrote:
>
>
>>From: Niki Spahiev <niki at vintech.bg>
>>
>>Mark English wrote:
>>
>>>The short version of this question is how do you include
>>
>>binaries in a
>>
>>>distribution without including their source ?
>>>
>>
>>[...]
>>
>>>If I use py2exe to compile a script which depends on this
>>
>>package, it
>>
>>>pulls in all the relevant parts just like I want, but of
>>
>>course I end
>>
>>>up with an executable rather than a "module distribution", and
>>>presumably this would also be useless for Unix builds. I'm guessing
>>>there's some easy way to do this which I haven't found yet,
>>
>>so I'd be
>>
>>>grateful for any insight.
>>
>>What is wrong with python setup.py bdist_wininst?
>>This is what pywin32 uses.
>
>
> I still end up with a winzip file (executable) which contains only .py
> files, and no .pyd files.
When you declare all extension modules distutils will pack them too.
Niki Spahiev
More information about the Python-win32
mailing list