Another item: I feel like distribution and package are getting confused. This line:

            tfile = pkg_resources.resource_filename(package,
                                                    "%s.%s" %
                                                    (basename,
                                                    self.extension))

The "package" here is actually a distribution name, and isn't related to Python packages. This further muddles the use of module-like names for templates, as you can't dot a distribution name with anything.

--
Ian Bicking  |  [EMAIL PROTECTED]  |  http://blog.ianbicking.org

Reply via email to