[issue2279] distutils sdist add_defaults does not add data_files

George Sakkis report at bugs.python.org
Mon Feb 16 04:18:57 CET 2009


George Sakkis <george.sakkis at gmail.com> added the comment:

By an equivalent option in setup() of course. I'm not against the
*functionality* of MANIFEST.in but on that (a) it's a second file you
have to remember to write and maintain in addition to setup.py (b) has
its own ad-hoc syntax instead of python and (c) overlaps in scope with
the package_data and data_files of setup.py.

FWIW I wrote a module that overrides the default build_py and sdist
commands with versions that allow specifying package_data recursively
(while preserving file permissions, unlike the - buggy IMO - behavior of
distutils) so that I can get rid of the MANIFEST.in.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2279>
_______________________________________


More information about the Python-bugs-list mailing list