[New-bugs-announce] [issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST
report at bugs.python.org
Tue May 11 14:32:48 CEST 2010
New submission from Ronald Oussoren <ronaldoussoren at mac.com>:
The sdist command in distutils calculates the MANIFEST file from a template (by default MANIFEST.in).
The code in sdist assumes that the contents of MANIFEST only depends on MANIFEST.in and setup.py, which can cause files to be missed when building an sdist.
In particular: given a MANIFEST.in file that includes all documentation in a 'Doc' subdirectory, using"recursive-include Doc *.txt" in the template, the MANIFEST won't get regenerated when a new file is added to the documentation subdirectory and hence that new file is not included in sdist distributions.
nosy: ronaldoussoren, tarek
stage: needs patch
title: distutils sdist is too laze w.r.t. recalculating MANIFEST
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce