title: How does `setup.py sdist` work?
body: <p>I'm trying to make a source distribution of my project with <code>setup.py sdist</code>. I already have a functioning <code>setup.py</code> that I can install with. But when I do the <code>sdist</code>, all I get is another <code>my_project</code> folder inside my <code>my_project</code> folder, a <code>MANIFEST</code> file I have no interest in, and a zip file which contains two text files, and not my project.</p>
  
  <p>What am I doing wrong? Where is the documentation on <code>sdist</code>?</p>
  
  <p><strong>Update:</strong></p>
  
  <p>Here's my <code>setup.py</code>:</p>
  
  <pre><code>#!/usr/bin/env python
  
  import os
  from distutils.core import setup
  import distutils
  from general_misc import package_finder
  
  try:
      distutils.dir_util.remove_tree('build', verbose=True)
  except:
      pass
  
  my_long_description = \
  '''\
  GarlicSim is a platform for writing, running and analyzing simulations. It can
  handle any kind of simulation: Physics, game theory, epidemic spread,
  electronics, etc.
  '''
  
  my_packages = package_finder.get_packages('', include_self=True,
                                            recursive=True)
  
  setup(
      name='GarlicSim',
      version='0.1',
      description='A Pythonic framework for working with simulations',
      author='Ram Rachum',
      author_email='cool-rr@cool-rr.com',
      url='http://garlicsim.org',
      packages=my_packages,
      package_dir={'': '..'},
      license= "LGPL 2.1 License",
      long_description = my_long_description,
  
  )
  
  try:
      distutils.dir_util.remove_tree('build', verbose=True)
  except:
      pass
  </code></pre>