[Zope-CMF] Re: Tools as local utilities
jens at dataflake.org
Fri Feb 9 05:12:05 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
On 9 Feb 2007, at 11:03, yuppie wrote:
>> Taking this into account, how should the five.localsitemanager
>> thing be packaged?
> Maybe we can use the same pattern as TextIndexNG3: The Python
> package is shipped in a 'src' subdirectory of the product. The
> product's __init__ adds 'src' to the sys.path. The code could check
> if five.localsitemanager already exists (e.g. in a Plone
> distribution) and modify sys.path only if necessary.
> This is a hack, but maybe good enough as a temporary solution for
> CMF 2.1.
That's certainly good enough for me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
More information about the Zope-CMF