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?

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to