[Zope-Coders] Heads up - setup.py
Matt Behrens
matt@zigg.com
Tue, 9 Jul 2002 14:59:19 -0400
On Tue, Jul 09, 2002 at 02:47:04PM -0400, Shane Hathaway wrote:
> 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.
Well, that's been a problem since setup.py went in, even when it
just built extensions... and at that time, it didn't even give one
enough to run Zope :-) (IIRC, one of the Linux distros actually
packages Zope by installing it into site-packages. Scary, eh?)
It doesn't have to be called setup.py. It could be
inst/distutils_support.py or something like that. Or, since we're
already overriding parts of distutils to gain the data installation
capability, we could also override it to disable installation unless
done the way we want it done. Maybe.
[re the 2.2 warning]
> 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.
Well, and there still are crashers on non-Linux platforms that
haven't been tracked down yet. But, I've pummelled this particular
deceased equine corpse quite enough, and I haven't exactly gone out
of my way to get them fixed...