old_contents: from setuptools import setup, find_packages
  import versioneer
  setup(name='clinvoc',
        version=versioneer.get_version(),
        cmdclass=versioneer.get_cmdclass(),
        author='Jason Rudy',
        author_email='jcrudy@gmail.com',
        url='https://github.com/jcrudy/clinvoc',
        package_data={'clinvoc': ['resources/**']},
        packages=find_packages(),
        requires=[]
       )
new_contents: from setuptools import setup, find_packages
  import versioneer
  import os
  
  def package_files(directory):
      paths = []
      for (path, _, filenames) in os.walk(directory):
          for filename in filenames:
              paths.append(os.path.join('..', path, filename))
      return paths
  
  setup(name='clinvoc',
        version=versioneer.get_version(),
        cmdclass=versioneer.get_cmdclass(),
        author='Jason Rudy',
        author_email='jcrudy@gmail.com',
        url='https://github.com/jcrudy/clinvoc',
        package_data={'clinvoc': package_files(os.path.join('clinvoc', 'resources'))},
        packages=find_packages(),
        requires=[]
       )
subject: Cover subdirectories of resources recursively in setup.py