title: move packages under root with setuptools
body: <p>this is a (part of my) project structure:</p>
  
  <pre><code>&lt;root&gt;
  |- src
       |-main
           |-python
               |- common
               |- constans
               |- controller
               |- resources
               |- rest
   - setup.py
  </code></pre>
  
  <p>I want to make my packages 'common', 'mappers' and 'rest' available under the root (which will make referencing less verbose). It should look like this:</p>
  
  <pre><code>   &lt;root&gt;
       - common
       - mappers
       - rest
       - setup.py
  </code></pre>
  
  <p>this is my setup.py file, based on <a href="https://docs.python.org/2/distutils/examples.html#pure-python-distribution-by-package" rel="nofollow">https://docs.python.org/2/distutils/examples.html#pure-python-distribution-by-package</a></p>
  
  <pre><code>from setuptools import setup, find_packages
  
  setup(name='my_project',
        version='0.0.1',
        package_dir={'src.main.python': ''},
        packacges = ['src.main.python']
       )
  </code></pre>
  
  <p>I have A MANIFEST.in file based on an example i found online:</p>
  
  <pre><code>include src.main.python fp README COPYING
  recursive-include src\main\python *
  </code></pre>
  
  <p>When i use the command <code>python setup.py sdist</code> it creates a directory 'dist' under the root with my project in a zip file. my packages (common, mappers and rest) are under <code>src\main\python</code> instead of under the root folder. What should be done to get them under the root folder?</p>