1 Star 0 Fork 0

source-code-analysis/python3.7.4

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
commandref.rst 4.49 KB
一键复制 编辑 原始数据 按行查看 历史
zhangweibo 提交于 2021-11-17 13:49 +08:00 . git init

Command Reference

Installing modules: the :command:`install` command family

The install command ensures that the build commands have been run and then runs the subcommands :command:`install_lib`, :command:`install_data` and :command:`install_scripts`.

:command:`install_data`

This command installs all data files provided with the distribution.

:command:`install_scripts`

This command installs all (Python) scripts in the distribution.

Creating a source distribution: the :command:`sdist` command

The manifest template commands are:

Command Description
:command:`include pat1 pat2 ...` include all files matching any of the listed patterns
:command:`exclude pat1 pat2 ...` exclude all files matching any of the listed patterns
:command:`recursive-include dir pat1 pat2 ...` include all files under dir matching any of the listed patterns
:command:`recursive-exclude dir pat1 pat2 ...` exclude all files under dir matching any of the listed patterns
:command:`global-include pat1 pat2 ...` include all files anywhere in the source tree matching --- & any of the listed patterns
:command:`global-exclude pat1 pat2 ...` exclude all files anywhere in the source tree matching --- & any of the listed patterns
:command:`prune dir` exclude all files under dir
:command:`graft dir` include all files under dir

The patterns here are Unix-style "glob" patterns: * matches any sequence of regular filename characters, ? matches any single regular filename character, and [range] matches any of the characters in range (e.g., a-z, a-zA-Z, a-f0-9_.). The definition of "regular filename character" is platform-specific: on Unix it is anything except slash; on Windows anything except backslash or colon.

Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/python_sourcecode/python3.7.4.git
git@gitee.com:python_sourcecode/python3.7.4.git
python_sourcecode
python3.7.4
python3.7.4
master

搜索帮助