[Zope3-dev] Re: zopeproducts, yet again
Philipp von Weitershausen
philipp at weitershausen.de
Tue Oct 14 05:31:31 EDT 2003
Fred L. Drake, Jr. wrote:
> Jeffrey P Shell writes:
> > Is there a way to add to that path just to run Zope? Zope 2.7's
> > ZConfig setup includes the 'products' directive:
>
> It wouldn't be difficult to add something similar to Zope 2's "path"
> setting:
You probably mean "add the Zope 2 "path" setting to Zope 3"?
> This specifies additional paths directories which are inserted
> into the beginning of Python's module search path. The set of
> directories specified is inserted into the beginning of the
> module search path in the order which they are specified here.
> Note that the processing of this directive may happen too late
> under some circumstances; it is recommended that you use the
> PYTHONPATH environment variable if using this directive doesn't
> work for you.
>
> Note that this is different from the "products" setting; that modified
> Products.__path__, while the "path" setting modifies sys.path. Zope 3
> simply doesn't have an equivalent to Zope 2's Products package, and it
> doesn't need one.
>
> I'm happy to add a "path" setting matching this description, however.
+ 1 (on the implementation too)
Philipp
More information about the Zope3-dev
mailing list