Apologies that I forgot to mention earlier... The removed line disables aut detection/inclusion of other SchoolTool parts:
<includePlugins package="schooltool" file="plugin.zcml" />
That's why you needed to add includes by hand.
If you want to investigate why auto-inclusion failed in the first place, try this:
$ python2.5
>>> import sys, itertools, pkg_resources
>>> paths = sorted(sys.path)
>>> distributions = list(itertools.chain(*[pkg_resources.find_distributions(path, True) for path in sys.path]))
>>> dist_names = sorted([repr(d) for d in distributions])
Following should print a lot of paths, many containing "zope" and ending with ".egg". You should see "schooltool.***.egg" there also (
>>> for path in paths: print path
And this will list the libraries that are known by pkg_resources. If schooltool or zope is not there, auto-inclusion will not work..
Apologies that I forgot to mention earlier... The removed line disables aut detection/inclusion of other SchoolTool parts: "schooltool" file="plugin.zcml" />
<includePlugins package=
That's why you needed to add includes by hand.
If you want to investigate why auto-inclusion failed in the first place, try this:
$ python2.5
>>> import sys, itertools, pkg_resources chain(* [pkg_resources. find_distributi ons(path, True) for path in sys.path]))
>>> paths = sorted(sys.path)
>>> distributions = list(itertools.
>>> dist_names = sorted([repr(d) for d in distributions])
Following should print a lot of paths, many containing "zope" and ending with ".egg". You should see "schooltool. ***.egg" there also (
>>> for path in paths: print path
And this will list the libraries that are known by pkg_resources. If schooltool or zope is not there, auto-inclusion will not work..
>>> for name in dist_names: print name