问题描述
我找到了一个带有MANIFEST.in
文件的Python项目.我可以猜测其中的大部分含义,但是我不清楚这行的含义:
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 tools
推荐答案
您可以在 JoshData/pdfminer/MANIFEST.in
或 .
这是一个使用 模板
运行sdist
时,它将查找MANIFEST.in
文件并对其进行解释,以生成MANIFEST
文件,该文件包含将包含在软件包中的文件列表.
When sdist
is run, it will look for the MANIFEST.in
file and interpret it to generate the MANIFEST
file 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.
在 MANIFEST
命令中,您确实具有:
Among the MANIFEST
commands, you do have:
graft dir
include all files under dir
请参见 Distutils教程
这篇关于Python的MANIFEST.in文件中的嫁接命令是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!