yaml file not getting copied when installing from setup.py
问题 for my distutils package the yaml file along with python files is not getting copied setup.py from distutils.core import setup files = ["*.yaml", "package/*"] setup(name = "mypackage", version = "0.1", description = "description", author = "Ciasto", author_email = "me@email.com", packages = ['package'], package_data = {'package' : files }, scripts = ["scripts/runner"], ) this is the project directory structure: $ tree package/ |____ | |______init__.py | |____command.py | |____constants.py | |