On Feb 20, 2008 3:25 PM, <[EMAIL PROTECTED]> wrote: > All - looking for a bit of input on a dependency for zope.mimetype > (zope.publisher) not advertised in setup.py for that package:
Sorry! > zope.mimetype.typegetter imports zope.publisher.contenttype for two > functions (parse() and parseOrdered()). I'm assuming this dependency is > more historical than anything else, but I'm guessing out of ignorance. This dependency exists because the content-type parsing functions happened to be available in zope.publisher. I'd be happy to see things refactored to allow this dependency to be broken. > I'm working on a minimal-dependencies CA application (using zope.schema > and zope.component only) that could likely use zope.mimetype in a > context outside of a full zope 3 web publishing environment, and I was > curious if this particular dependency is purposeful/desired? The dependency exists entirely to get to those functions; there's no specific desire to create a dependency. -Fred -- Fred L. Drake, Jr. <fdrake at gmail.com> "Chaos is the score upon which reality is written." --Henry Miller _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )