[PATCH] distutils: Add MANIFEST.in file to include all files in 'python setup.py sdist'

Thorne, Stephen stephen at thorne.id.au
Wed Jun 1 19:17:56 CDT 2011


On Thu, Jun 2, 2011 at 8:35 AM, Matt Mackall <mpm at selenic.com> wrote:
> $ rm MANIFEST
> $ make MANIFEST > /dev/null
> $ grep util.h MANIFEST
> mercurial/util.h
> $ grep pure MANIFEST
> mercurial/pure/base85.py
> mercurial/pure/bdiff.py
> mercurial/pure/diffhelpers.py
> mercurial/pure/mpatch.py
> mercurial/pure/osutil.py
> mercurial/pure/parsers.py

Yep. I see those in the MANIFEST that's generated by the Makefile.
Follow those commands with these commands:

$ rm -rf dist
$ python setup.py sdist > /dev/null
warning: sdist: manifest template 'MANIFEST.in' does not exist (using
default file list)

$ tar -tvf dist/mercurial*.tar.gz | grep util.h
$

And  you see where the problem is.

Stephen.


More information about the Mercurial-devel mailing list