title: How do I make "setup.py bdist_egg" to ignore specific source files?
body: <p>I'm trying to build a package for a django application, but excluding all tests modules.
  I have tried setting </p>
  
  <pre><code>exclude = ["*.tests", "*.tests.*", "tests.*", "tests"]
  </code></pre>
  
  <p>on <code>find_packages</code> and defining a <code>MANIFEST.in</code>, but the tests are always compiled and included in the bundle.</p>
  
  <p>Any clues?</p>