title: Python setup.py: Some files are missing
body: <p>My project structure looks like this:</p>
  
  <pre><code>package1/  # a lot of files, submodules here.
  package2/  # a lot of files, submodules here.
  package3/  # a lot of files, submodules here.
  tests/
  setup.py
  </code></pre>
  
  <p>I have a <code>setup.py</code> test similar to:</p>
  
  <pre><code>setup(
      name='MyPackage',
      packages=find_packages(exclude=['tests']),
      package_data={
          'package': ['./path/*.xsd'],
      },
      include_package_data=True,
      py_modules=['package1'],
      version=__version__,
      description='My description',
      classifiers=[
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
      ],
      zip_safe=False,
      author='Me',
      author_email='example@example.com',
      url='http://www.example.com/',
      keywords=['Keyword1', 'Keyword2'],
      scripts=['./script1.py', './script2.py'],
      install_requires=[
          'isodate',
          'pycurl',
  
      ],
      extras_require={':python_version &lt; "3.0"': ['enum34', 'future']}
  )
  </code></pre>
  
  <p>I'm using this in the following way:</p>
  
  <pre><code>python setup.py bdist_wheel -d .
  </code></pre>
  
  <p>After that, I'm installing it via:</p>
  
  <pre><code>pip install MyPackage-1.1.0.whl
  </code></pre>
  
  <p>It works fine, but...</p>
  
  <p>After this installation into the virtual environment, I've found that one configuration file is missing from the <code>package2</code>.
  It looks similar to:</p>
  
  <pre><code>package2/
      http/
          api/
              http.py
              api.yaml
              ...
  </code></pre>
  
  <p>Interesting that <code>http.py</code> and other files from this package exists, but <code>api.yaml</code> disappears from this package somewhere.</p>
  
  <p>So, the question is: how it might be possible and do somebody has any ideas?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I've found that all non-Python files are missing...</p>