title: Packaging resources with setuptools/distribute
body: <p>I'm developing an Python egg that has several .txt dependencies (they're templates used to generate files by the egg itself), and I'm struggling to get those dependencies copied to <code>site-packages</code> during <code>setup.py install</code>. According to the <a href="http://packages.python.org/distribute/setuptools.html#automatic-resource-extraction" rel="noreferrer"><code>distribute</code> documentation</a>...</p>
  
  <p><strong>Filesystem of my package:</strong></p>
  
  <pre><code>setup.py
  package
  |--- __init__.py
  |--- main.py
  |--- binary (calls main.py with pkg_resources.load_entry_point)
  |--- templates
       |--file1.txt
       |--file2.txt
  </code></pre>
  
  <p><strong>In setup.py:</strong></p>
  
  <pre><code>setup(
      [...]
      eager_resources = ['templates/file1.txt', 'templates/file2.txt']
  )
  </code></pre>
  
  <p><strong>Within my package:</strong></p>
  
  <pre><code>from pkg_resources import resource_string
  tpl = resource_string(__name__, 'templates/file1.txt')
  </code></pre>
  
  <p>...this combination of configuration and filesystem should result in <code>file1.txt</code> and <code>file2.txt</code> being available through <code>pkg_resources.resource_string</code>. Unfortunately, they're not being copied to <code>site-packages</code> during <code>setup.py install</code>. What am I missing?</p>
  
  <p>Thanks!</p>