title: python including a folder in your distribution package
body: <p>I have a python package structured as below:</p>
  
  <pre><code>mypackage
  ├───build
  ├───dist
  ├───mypackage-------&gt; file1.py, file2.py
  │   └───templates--&gt;temp.html
  └───test
  └───MANIFEST.in
  └───setup.py
  </code></pre>
  
  <p>what I'm trying to do is to include the templates folder.
  Here is the relevant part of my setup.py</p>
  
  <pre><code>setup(
      packages=find_packages(),
      include_package_data=True,
      package_data = {'mypackages': ['templates/*.html']},
  </code></pre>
  
  <p>and here is my MANIFEST.in</p>
  
  <pre><code>include mypackage/templates
  recursive-include mypackage/ *.html
  </code></pre>
  
  <p>To produce the zip file, I use this command:</p>
  
  <pre><code>python setup.py sdist
  </code></pre>
  
  <p>Any ideas why the templates folder does not get included?</p>