python-packaging icon indicating copy to clipboard operation
python-packaging copied to clipboard

Non-code-files guidance requires unnecessary repetition

Open jaraco opened this issue 8 years ago • 0 comments

Thanks for these docs. I was searching for how to handle package data and it took me to http://python-packaging.readthedocs.io/en/latest/non-code-files.html. I followed that technique in one project before I realized there's a more automated way to include such files.

Including setuptools_scm as a setup_requires declaration will invoke the setuptools file_finder to automatically include any files found in the SCM (e.g. Git) repository. Thus, the developer doesn't have to maintain a separate manifest (one in a MANIFEST.in and another in the SCM repo) and run the risk of the two being inconsistent.

I believe non-code-files deserves at least a nod to file finders as a more automated solution to the problem of non-code-files.

jaraco avatar Apr 06 '17 15:04 jaraco