[ZODB-Dev] ZEO 2.0a1 release

Shane Hathaway shane@zope.com
Fri, 14 Jun 2002 10:41:49 -0400


Toby Dickenson wrote:
> On Friday 14 Jun 2002 2:50 pm, Shane Hathaway wrote:
> 
>>Toby Dickenson wrote:
>>
>>>One minor issue: the function main() in start.py has some trickery to set
>>>sys.path with directory containing ZODB and other packages. Previously
>>>you could get by without setting a PYTHONPATH. In this release, it tries
>>>to import several of these packages before main() is run.
>>>
>>>I suggest doing away with the sys.path trickery, and documenting that you
>>>need to set sys.path correctly.
>>
>>+1.  I think the pattern is that Python applications can safely change
>>sys.path, but not Python libraries.
> 
> 
> hmm.
> 
> start.py is the top level program, not a library.

Ah, you're referring to ZEO (I skipped the subject line ;-) ).  That 
would make this a gray area, since StandaloneZODB is a library that 
contains a minimal application.

Shane