[Zope-dev] Policy question: correct location to put member co
ntributed libraries libraries
Brian Lloyd
Brian@digicool.com
Mon, 27 Mar 2000 10:42:27 -0500
> I have a PersistentList and PersistentDict library available
> for download
> over at zope.org. I had the tarball put the library in
> lib/python/ZODB,
> which is clearly wrong (must of had a brain cramp that day :).
>
> Question -- where should it go?
>
> It could install itself as if it were a Zope Product:
> lib/python/Products/PersistentListDict/(PersistentList.py,
> PersistentDict.py, readme.txt)
>
> ...
>
> However... it's not really a Product. It's a Python class to
> be called
> from Python code. It doesn't participate in or have anything
> to do with
> the Zope product interface at all.
Andrew -
Probably the best place is a package in the
lib/python/Shared/
directory of the Zope installation. This is the
place for packages that are not product-specific.
For example, lib/python/Shared/DC contains packages
from Digital Creations - you might want to put your
stuff in lib/python/Shared/Foo/PersistentListDict
(where "Foo" is your organization or some other
contextual name to distinguish your packages).
Hope this helps!
Brian Lloyd brian@digicool.com
Software Engineer 540.371.6909
Digital Creations http://www.digicool.com