title: Importing a package from within a directory fails
body: <p>I have a project directory structure as follows:</p>
  
  <pre><code>rootdir/
  somefile.py
  - proj/
    - __init__.py
    - __main__.py
    - file1.py
    - file2.py
  </code></pre>
  
  <p>file2 has an import, <code>from file1 import some_module</code></p>
  
  <p>When I am in rootdir and I call something like <code>import proj.file2.bla_bla as bla_bla from somefile.py</code></p>
  
  <p>I get an error like</p>
  
  <p><strong>error in file2</strong></p>
  
  <blockquote>
    <p>cannot find file1 or no such module such as file1 </p>
  </blockquote>
  
  <p>What do you think is going wrong?</p>