I found a Python project with a MANIFEST.in file. I can guess at the meaning of much of it, but I am unclear on the meaning of the line:
graft t
You can see such a file in JoshData/pdfminer/MANIFEST.in or openstack/deb-python-falcon/MANIFEST.in for instance.
It is a python project which uses the MANIFEST.in template
A
MANIFEST.infile can be added in a project to define the list of files to include in the distribution built by thesdistcommand.When
sdistis run, it will look for theMANIFEST.infile and interpret it to generate theMANIFESTfile that contains the list of files that will be included in the package.The manifest template has one command per line, where each command specifies a set of files to include or exclude from the source distribution.
Among the MANIFEST commands, you do have:
graft dir
include all files under dir
See the Distutils tutorial
The
MANIFEST.infile took me a while to understand.
It's the file thatdistutilsuses to collect all the files in your project that will go into the final installer tarball (the file that gets distributed).