Downloadable code archive ( à la Java JAR file)?
Graham Fawcett
gmfawcett at operamail.com
Fri Aug 31 11:33:45 EDT 2001
Hi folks,
Does anyone out there have a stable __import__ hook to allow the easy addition
of an archive file containing Python bytecode to sys.path? (Or the URL of such
an archive...)
I'm trying to roll my own, based on Gordon McMillan's installer utils, but am
finding that the distutils/__import__ hook business is one best left to
greater minds than mine.
The major problem with Gordon's code (for my purposes) is that he uses
archives as flat namespaces, and I'd like to go hierarchical. The possibility
of having abitrary resource file in the archive would be a benefit.
Thanks very much for your help.
--
Graham Fawcett
gmfawcett at operamail.com
More information about the Python-list
mailing list