[Tutor] Do I have to include certain items in the setup.py file?
falcon3166 at hotmail.com
Sat Sep 17 00:37:56 CEST 2005
It sure does! Thanks.
For great sites go to: http://falcon3166.tripod.com
For great products go to: http://zoffee.tripod.com
----- Original Message -----
From: "Danny Yoo" <dyoo at hkn.eecs.berkeley.edu>
To: "Nathan Pinno" <falcon3166 at hotmail.com>
Cc: "Tutor mailing list" <tutor at python.org>
Sent: Friday, September 16, 2005 4:36 PM
Subject: Re: [Tutor] Do I have to include certain items in the setup.py
> On Fri, 16 Sep 2005, Nathan Pinno wrote:
>> It sure does. Thanks Danny. One final question: Is it possible to write
>> one setup.py and use it for multiple Python programs?
> Just to make sure, we are talking about the Distutils setup.py that's used
> to build distributions of Python applications, right?
> It might not be so useful to clone setup.py, since we'd probably want to
> make changes for each program, just because we'd probably label our
> programs with different names just to keep ourselves from getting
> That is, technically, it's possible to call all our programs some generic
> name like "program.py", and to keep all our programs in separate
> subdirectories. And in that way, the same 'setup.py' could work on
> different applications. But still, I don't see this being done very often
> because people often like to use descriptive --- and varying --- names for
> their programs.
> In my own practice, I usually just write a setup.py from scratch (or copy
> a template), and customize it to the particular application that I'm
> packaging up. Does this make sense?
> Best of wishes!
More information about the Tutor