Commit 55866a45 authored by Tres Seaver's avatar Tres Seaver

Note current status; document script for checking direct deps.

parent f4ea56d4
...@@ -16,7 +16,8 @@ Zope2 depends on the following zope.app packages directly: ...@@ -16,7 +16,8 @@ Zope2 depends on the following zope.app packages directly:
* Products/Five/browser/doc/products/ViewsTutorial/configure.zcml * Products/Five/browser/doc/products/ViewsTutorial/configure.zcml
- [_] zope.app.form - [_] zope.app.form
o Products.Five.form.* o Products.Five.form.* (should be factored out into a separate
package, maybe ``five.forms``)
- [X] zope.app.pagetemplate - [X] zope.app.pagetemplate
* Products.PageTemplates.Expressions * Products.PageTemplates.Expressions
...@@ -25,21 +26,37 @@ Zope2 depends on the following zope.app packages directly: ...@@ -25,21 +26,37 @@ Zope2 depends on the following zope.app packages directly:
- [_] zope.app.publication - [_] zope.app.publication
o ZPublisher.BaseRequest (for ``EndRequestEvent``) o ZPublisher.BaseRequest (for ``EndRequestEvent``)
o Products.Five.component (for ``IBeginRequestEvent``, o Products.Five.component (for ``BeforeTraverseEvent``)
``IEndRequestEvent``, and ``BeforeTraverseEvent``.)
- [X] zope.app.publisher - [X] zope.app.publisher
* ZPublisher.BaseRequest * ZPublisher.BaseRequest
o Products.Five.browser.adding (for ``getMenu``) * Products.Five.browser.adding (for ``getMenu``)
o Products/Five/browser/configure.zcml (for ``IMenuItemType``, * Products/Five/browser/configure.zcml (for ``IMenuItemType``,
``MenuAccessView``, and ``IMenuAccessView``) ``MenuAccessView``, and ``IMenuAccessView``)
o Products.Five.viewlet.metaconfigure (for ``viewmeta``) * Products.Five.viewlet.metaconfigure (for ``viewmeta``)
o Products.Five.form.metaconfigure (for ``menuItemDirective``) * Products.Five.form.metaconfigure (for ``menuItemDirective``)
o Products.Five.fivedirectives (for ``IBasicResourceInformation``) * Products.Five.fivedirectives (for ``IBasicResourceInformation``)
- [_] zope.app.schema - [_] zope.app.schema
o Products.Five o Products.Five (imports ``zope.app.schema.vocabulary`` for
side-effects ?!).
- [_] zope.app.twisted
o Zope2.Startup.datatypes (conditionally imports ``ServerFactory``)
o Zope2.Startup.handlers (conditionally imports ``ServerType``,
``SSLServerType``, ``IServerType``; worse, conditionally imports
``zope.app.twisted.main`` for side effects, which includes pulling
back ``zope.app.appsetup`` as well as adding ``zope.app.wsgi``?!)
This shell script can be used to verify the direct dependencies::
#! /bin/sh
for f in $(find src/ -name "*.py" | xargs grep -l "zope\.app"); do
echo ====================================================
echo $f
echo ====================================================
grep "zope\.app" $f
done
Zope2 has transitive dependencies on these packages: Zope2 has transitive dependencies on these packages:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment