I just added a WSGI app in paste.urlparser.PkgResourceParser (http://svn.pythonpaste.org/Paste/branches/mainline-refactor/paste/urlparser.py) to serve static files using pkg_resources's resource API. Two new methods would be useful there: resource_mtime and resource_size. Alternately, resource_stat, which would return an os.stat-compatible object. But a lot of what os.stat returns doesn't apply well to a zip file entry, even if mtime and size do. I'm not sure if mtime should be the mtime of the zip file itself, or the date_time of the entry.
-- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
