[New-bugs-announce] [issue2279] distutils sdist add_defaults does not add data_files

David Ripton report at bugs.python.org
Wed Mar 12 15:53:32 CET 2008


New submission from David Ripton <d+python at ripton.net>:

distutils.sdist.add_defaults adds the Python modules and scripts and C
extensions found in setup.py to the MANIFEST.  It does *not* add
data_files mentioned in setup.py to the MANIFEST.

This is non-orthogonal and confusing, because it means that a
MANIFEST.in is required if you have data_files, optional if you do not.
 If you have data_files and do not have MANIFEST.in, you get a broken
package but no error.

----------
components: Distutils
messages: 63475
nosy: dripton
severity: normal
status: open
title: distutils sdist add_defaults does not add data_files
type: behavior
versions: Python 2.4, Python 2.5, Python 2.6, Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2279>
__________________________________


More information about the New-bugs-announce mailing list