[Zope-CMF] Re: Tools as local utilities
Jens Vagelpohl
jens at dataflake.org
Fri Feb 9 05:12:05 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFFzEj1RAx5nvEhZLIRAkBlAKCfKlATCPmles60ihE3XAhDYWxd0QCfe8G8
tPqM6K8fjpnx7XVCMbP2aik=
=kmtO
-----END PGP SIGNATURE-----
More information about the Zope-CMF
mailing list