擅长:python、mysql、java
<p>根据文件,有<a href="http://setuptools.readthedocs.io/en/latest/setuptools.html#including-data-files" rel="noreferrer">three ways</a>包括包数据文件。你有两个包裹:土豆和西红柿。静态目录不在这两个包中,因此setup.py中的包\u数据字典无法工作。清单选项要求在setup.py中将include_package_data设置为True。可以通过查找<a href="http://setuptools.readthedocs.io/en/latest/setuptools.html#non-package-data-files" rel="noreferrer">here</a>的方式访问非包数据文件</p>