setup.py (was Re: [Zope-Coders] RE: [Zope-Checkins] CVS: Zope/doc - INSTALL.txt:1.32)

Shane Hathaway shane@zope.com
Thu, 30 May 2002 14:10:01 -0400


Matt Behrens wrote:
>>Does it install all of Zope's dozens of packages in site-packages, then? 
>>  Is that what we want?
> 
> 
> It will if you don't give it flags.  The Makefile gives it flags to
> direct the installation to go into a software home created by the
> installer, i.e. /usr/local/lib/zope/2.6.0.
> 
> 
>>Alternatively, does "python setup.py build_ext -i" work?  Does it put 
>>the extensions in the right place?  That would be the ideal replacement 
>>for "python wo_pcgi.py".
> 
> 
> Yes.  The Makefile just does a regular setup.py build though.

I just tried out your setup.py.  It seems to work quite well.  I say go 
ahead and merge it in.

I'm a little confused about the Makefile ideas, though.  Almost all 
Python packages have a setup.py *instead of* a Makefile.  What does the 
Makefile do?  And isn't that a problem for Windows installs, where there 
is no "make" command?

Shane