I'm re-sending this because I accidentally sent it to just Thomas,
rather than the list.
I'm personally very glad you're thinking about this! For most of my
projects I'm quite happy with the current directory layout, but
sometimes it would be very nice to hand off small tools to co-workers
as single executables.
As a single point of data, here is the lib dir for my most complicated
project (includes various scripts and two services):
12/18/2003 09:27p 45,123 datetime.pyd
09/26/1998 01:00a 995,383 MFC42.DLL
11/04/2003 10:52a 28,728 perfmon.pyd
11/04/2003 10:52a 323,649 pythoncom23.dll
11/04/2003 10:52a 86,084 pywintypes23.dll
12/18/2003 09:28p 20,545 select.pyd
11/04/2003 10:52a 32,831 servicemanager.pyd
06/29/2004 09:59a 2,131,980 shared.zip
12/18/2003 09:25p 16,384 w9xpopen.exe
11/04/2003 10:52a 69,689 win32api.pyd
11/04/2003 10:52a 28,731 win32event.pyd
11/04/2003 10:52a 28,732 win32evtlog.pyd
11/04/2003 10:52a 28,733 win32service.pyd
11/04/2003 10:52a 639,036 win32ui.pyd
12/18/2003 09:30p 61,503 zlib.pyd
01/15/2004 02:45p 61,440 _ctypes.pyd
12/18/2003 09:25p 49,218 _socket.pyd
12/18/2003 09:25p 57,407 _sre.pyd
12/18/2003 09:26p 495,616 _ssl.pyd
12/18/2003 09:29p 36,864 _winreg.pyd
20 File(s) 5,237,676 bytes
On Wed, 28 Jul 2004 20:18:48 +0200, Thomas Heller <theller@...> wrote:
> So far, here are the ideas.
> First, prebuilt exe stubs can be provided by the py2exe installer,
> which would contain most of the standard extensions distributed by the
> python.org installer (plus _ctypes, of course ;-). But this wouldn't
> allow using the pywin32 extensions, for example - unless some kind soul
> builds all of them into the exe stubs as well.
Sounds good for the most common cases.
> Second, the exe stubs could be built (if a C compiler is installed) at
> runtime when py2exe runs. py2exe would collect the extension modules
> needed, build a config.c file at runtime, and compiles this, linking to
> static libraries of pywin32, wxPython, or whatever.
I'm not much of a C guy... but if the setup instructions were clear,
I'd probably make an attempt to get this going. On the other hand...
if this system existed, could someone who did have a compiler all
setup properly build them and make them available to me using the