[Tutor] Do I have to include certain items in the setup.py file?

Nathan Pinno falcon3166 at hotmail.com
Fri Sep 16 22:15:37 CEST 2005


It sure does. Thanks Danny. One final question: Is it possible to write one 
setup.py and use it for multiple Python programs?

Thanks,
Nathan Pinno
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 2:12 PM
Subject: Re: [Tutor] Do I have to include certain items in the setup.py 
file?


>
>
> On Fri, 16 Sep 2005, Nathan Pinno wrote:
>
>> I was curious about what I have to include in the setup.py file. Do I
>> have to include such statements as "import random" if the code uses
>> import random and the random functions in its code for example?
>
> Hi Nathan,
>
> Each module is responsible for its own local imports.  So if setup.py
> itself doesn't use random, even if it uses other modules where those other
> modules use random, setup.py itself doesn't need to import random.
>
> Does that help to clear things up?
>
> 


More information about the Tutor mailing list