File tree Expand file tree Collapse file tree 2 files changed +21
-15
lines changed
Expand file tree Collapse file tree 2 files changed +21
-15
lines changed Original file line number Diff line number Diff line change 55
66## about
77
8- [ setuptools-scm] extracts Python package versions from ` git ` or
9- ` hg ` metadata instead of declaring them as the version argument
10- or in an SCM managed file.
11-
12- Additionally, [ setuptools-scm] provides setuptools
13- with a list of files that are managed by the SCM <br />
14- (i.e. it automatically adds ** all of** the SCM-managed files to the sdist).<br />
15- Unwanted files must be excluded via ` MANIFEST.in ` .
16-
8+ [ setuptools-scm] extracts Python package versions from ` git ` or ` hg ` metadata
9+ instead of declaring them as the version argument
10+ or in a Source Code Managed (SCM) managed file.
11+
12+ Additionally [ setuptools-scm] provides ` setuptools ` with a list of
13+ files that are managed by the SCM
14+ <br />
15+ (i.e. it automatically adds all the SCM-managed files to the sdist).
16+ <br />
17+ Unwanted files must be excluded via ` MANIFEST.in `
18+ or [ configuring Git archive] [ git-archive-docs ] .
1719
1820## ` pyproject.toml ` usage
1921
@@ -71,6 +73,7 @@ For further configuration see the [documentation].
7173
7274[ setuptools-scm ] : https://github.com/pypa/setuptools_scm
7375[ documentation ] : https://setuptools-scm.readthedocs.io/
76+ [ git-archive-docs ] : https://setuptools-scm.readthedocs.io/en/stable/usage/#builtin-mechanisms-for-obtaining-version-numbers
7477
7578
7679## Interaction with Enterprise Distributions
Original file line number Diff line number Diff line change 11# About
22
3-
43` setuptools_scm ` extracts Python package versions from ` git ` or ` hg ` metadata
5- instead of declaring them as the version argument or in a SCM managed file.
4+ instead of declaring them as the version argument
5+ or in a Source Code Managed (SCM) managed file.
6+
7+ Additionally ` setuptools_scm ` provides ` setuptools ` with a list of
8+ files that are managed by the SCM
9+ (i.e. it automatically adds all the SCM-managed files to the sdist).
10+ Unwanted files must be excluded via ` MANIFEST.in `
11+ or [ configuring Git archive] [ git-archive-docs ] .
612
7- Additionally ` setuptools_scm ` provides setuptools with a list of
8- files that are managed by the SCM (i.e. it automatically adds all
9- the SCM-managed files to the sdist). Unwanted files must be excluded
10- via ` MANIFEST.in ` .
13+ [ git-archive-docs ] : usage.md#builtin-mechanisms-for-obtaining-version-numbers
1114
1215## basic usage
1316
You can’t perform that action at this time.
0 commit comments