title: setup.py imports not working correctly
body: <p>I'm trying to install a simple python library I created and think I may be missing a step. The setup goes fine (or runs at least) but when I import it doesn't work as I expect.
  The directory structure looks like</p>
  
  <pre><code>
  Foo/
    setup.py
    README.txt
    LICENSE.txt
      foo/
        __init__.py
        bar.py
  </code></pre>
  
  <p>I can do </p>
  
  <pre><code>>>> import foo</code></pre>
  
  <p>but then if I try to</p>
  
  <pre><code>>>> foo.bar</code></pre>
  
  <p>I get the following error</p>
  
  <pre><code>AttributeError: 'module' object has no attribute 'bar'</code></pre>
  
  <p>Contrarily no errors occur if I use</p>
  
  <pre><code>>>> from foo import bar</code></pre>
  
  <p>Here is my setup.py</p>
  
  <pre><code>
  from distutils.core import setup
  
  setup(
      name='Foo',
      version='0.1.0',
      author='ctrl-c',
      author_email='10minutemail@10minutemail.com',
      packages=['foo'],
      license='LICENSE.txt',
      description='Foo does bar.',
      long_description=open('README.txt').read(),
  )
  </code></pre>
  
  <p>I imagine I just missed something, but I've been looking through the docs and haven't found it yet. Thanks.</p>