[Zope-Coders] Heads up - setup.py

Shane Hathaway shane@zope.com
Tue, 09 Jul 2002 14:47:04 -0400


Matt Behrens wrote:
> On Tue, Jul 09, 2002 at 12:53:24PM -0400, Chris McDonough wrote:
> 
> 
>>Is it intended that we change the source install docs (INSTALL.txt
>>and the Zope Book) to show how to install Zope via setup.py instead
>>of "python wo_pcgi.py"?
> 
> 
> Not at this time; today it's purely supplemental.  Someday (2.7?),
> yes -- that's the goal of the installer branch as a whole.  I imagine
> packagers will make use of the setup.py but end-users will still
> stay away.

I'm still a little concerned that people will use setup.py the normal 
way (without reading docs) and make a bit of a mess:

python setup.py build
python setup.py install

This will install dozens of packages in site-packages.  Doesn't that 
concern you, too?  Maybe it's just me.

(switch context to Python 2.2)

 > On Tue, Jul 09, 2002 at 01:40:27PM -0400, Chris McDonough wrote:
 >
 >>Actually, z2.py currently gives a warning at startup if you're
 >>running under 2.2.  I dont think we need to protect people from
 >>themselves at build time if there's a warning at runtime.
 >
 >
 > Agreed.  In it goes...

That warning, BTW, is too strong.  Zope works perfectly well with Python 
2.2.  We just haven't organized an effort to scrutinize it, so the 
combination is "unsupported".  To say it "does not run" is not accurate.

Shane