[Tutor] Do I have to include certain items in the setup.py file?
dyoo at hkn.eecs.berkeley.edu
Fri Sep 16 22:12:07 CEST 2005
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?
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