[Zope-dev] Policy question: correct location to put member contributed
libraries
libraries
Andrew Wilcox
circle@gwi.net
Mon, 27 Mar 2000 10:16:40 -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)
Then developers who wanted to use the library could use the following
incantation:
from Products.PersistentListDict.PersistentList import PersistentList
mylist = PersistentList()
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.
Thoughts?
Andrew