title: Attempted relative import in non-package (after 2to3)
body: <p>After converting to Python 3.x using <code>2to3</code> (see my <a href="https://stackoverflow.com/questions/5497013/convert-code-from-python-2-x-to-3-x/5497070#5497070">previous question</a>), I get this error during the build:</p>
  
  <pre><code>  File "setup.py", line 28, in &lt;module&gt;
      from . import mof_compiler
  ValueError: Attempted relative import in non-package
  </code></pre>
  
  <p>The code:</p>
  
  <pre><code>from . import mof_compiler
  mof_compiler._build()
  </code></pre>
  
  <p>But I don’t know why this is wrong, since <code>mof_compiler</code> is in the same dir as <code>setup.py</code>. Please help!</p>