How should I import modules local to a project?
<p>Following <a href="http://as.ynchrono.us/2007/12/filesystem-structure-of-python-project_21.html" rel="nofollow">this file structure</a>, my project looks as follows (simplified): </p>

<pre><code>Project/
|-- project/
    |-- test/
        |-- test_foo.py
    |-- foo.py
</code></pre>

<p>Using best practices, how should I import <code>foo</code> from within <code>test_foo.py</code>? I'm aware of relative imports, but <a href="http://www.python.org/dev/peps/pep-0008/#imports" rel="nofollow">PEP 8 discourages them</a>.</p>
