zope.container (32 transitive dependencies) has some possibly low-hanging 
dependency  tease-apart fruit.  Does anyone have any ideas about to sort out 
below, particularly with externalizing the mentioned interface dependencies?

- It depends on zope.filerepresentation but depends only on its interfaces
   IReadDirectory, IWriteDirectory, and IDirectoryFactory.
   (zope.filerepresentation has 32 transitive dependencies).

- It depends on zope.app.dependable but depends only on its interfaces
   IDependable and DependencyError.  (note: zope.app.dependable might
   be a candidate to be called zope.dependable as it depends on no other 
   packages; it does depend on about 20 other zope.* packages transitively tho).

- It depends on zope.publisher, but only its interfaces browser.IBrowserRequest,
   browser.IBrowserPublisher, NotFound, IDefaultViewName,
   xmlrpc.IXMLRPCPublisher, and IPublishTraverse.

- I was able to break a runtime logic dependency on zope.traversing by
   disusing zope.traversing.api.getPath in favor of using
   ILocationInfo(object).getPath().  The rest of the runtime dependencies on
   zope.traversing are interface dependencies (ITraversable, IContainmentRoot).

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to