Re: Import binary extensions from zipfiles, windows only

2005-01-05 Thread PJDM
Thomas Heller wrote: > zipextimporter, as published, doesn't handle extensions in packages. > The patch I attached at the end, may fix this - I tested it with PIL. Thanks, that works fine. However, ZopeX3 itself still won't run. As part of the startup, it attempts to load some files relative to

Re: [Hack] Import binary extensions from zipfiles, windows only

2005-01-04 Thread Thomas Heller
"PJDM" <[EMAIL PROTECTED]> writes: > I'm trying to make ZopeX3 start faster by zipping up the "zope" > directory. (Because this will be stored on a CD, having less data to > read will make it quicker to start.) > > The standard python zipimporter won't work with the ZopeX3 .pyd files, > so zipexti

Re: [Hack] Import binary extensions from zipfiles, windows only

2005-01-03 Thread PJDM
I'm trying to make ZopeX3 start faster by zipping up the "zope" directory. (Because this will be stored on a CD, having less data to read will make it quicker to start.) The standard python zipimporter won't work with the ZopeX3 .pyd files, so zipextimporter came along at just the right time. Howe

Re: [ANN] [Hack] Import binary extensions from zipfiles, windows only

2004-12-17 Thread Thomas Heller
"Delaney, Timothy C (Timothy)" <[EMAIL PROTECTED]> writes: > Thomas Heller wrote: > >> zipextimporter.py contains the ZipExtImporter class which allows to >> load Python binary extension modules contained in a zip.archive, >> without unpacking them to the file system. > > I take it this was what y

RE: [ANN] [Hack] Import binary extensions from zipfiles, windows only

2004-12-16 Thread Delaney, Timothy C (Timothy)
Thomas Heller wrote: > zipextimporter.py contains the ZipExtImporter class which allows to > load Python binary extension modules contained in a zip.archive, > without unpacking them to the file system. I take it this was what you were talking about the other day when you mentioned single-file ap

Re: [ANN] [Hack] Import binary extensions from zipfiles, windows only

2004-12-16 Thread Michel Claveau - abstraction méta-galactique non triviale en fuite perpétuelle.
I like this kind of gadget. -- http://mail.python.org/mailman/listinfo/python-list

[ANN] [Hack] Import binary extensions from zipfiles, windows only

2004-12-16 Thread Thomas Heller
Warning: experimental code! Overview zipextimporter.py contains the ZipExtImporter class which allows to load Python binary extension modules contained in a zip.archive, without unpacking them to the file system. Call the zipextimporter.install() function to install the import hook, add