Hi, Giovanni Bajo schrieb:
I have reviewed your patch. I'm a little concerned with the fact that you embedded the .egg file as-is and dropped it at startup into the temp folder; it obviously works, but it seems to me that any solution that implements the .egg-directory support would be more general and be useful for .egg-files too.
To be correct: this path currently only implements support for zip files (aka zipimport), not for eggs. But for .eggs which are zipped, this is the same :-)
Support for .egg-Directories will most likely require extracting the directory into the tempdir. Because if an .egg is not 'zip-enabled', it need to become an directory anyway.
Extracting the zipfile to the tempdir can be avoided. But this would require implementing another importer which offers the carchive content a file streams.
-- Schönen Gruß - Regards Hartmut Goebel Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de
smime.p7s
Description: S/MIME Cryptographic Signature
