Cross-reference 'import' in a class hierarchy

Erik Max Francis max at alcyone.com
Sun Apr 6 22:47:52 EDT 2003


Ben Finney wrote:

> It's not.  Even if I make it so on my computer, it's not going to be
> so
> on someone else's computer when they download my package tree.

If it's important that the project be a real Python package, then make
that an installation requirement.  Provide instructions in the form of a
README or make a distutils setup.py script that people can use to
install your software.

Make sure you put __init__.py files (even if blank) at the root of your
subdirectories to make them true packages.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Sit loosely in the saddle of life.
\__/ Robert Louis Stevenson
    Maths reference / http://www.alcyone.com/max/reference/maths/
 A mathematics reference.




More information about the Python-list mailing list