You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: restructure for unified vcs-versioning/setuptools-scm documentation
Reorganize documentation to clearly distinguish between core vcs-versioning
features and setuptools-scm specific integration, while maintaining a unified
doc set with setuptools-scm as the primary entry point.
Major changes:
- Add Architecture section to index.md explaining the vcs-versioning core
library and setuptools-scm integration layer relationship
- Reorganize config.md into clear sections:
* Core Configuration: version schemes, tag patterns, fallbacks, etc.
* setuptools-scm Specific Configuration: deprecated write_to option
* Environment Variables split into Version Detection Overrides and
setuptools-scm Overrides
- Clean up all docs by removing excessive admonitions - section structure
now makes the distinction clear without repetitive labeling
- Correct categorization of features:
* version_file, version_file_template: core features (not setuptools-scm specific)
* relative_to, parse: core parameters (not setuptools-scm specific)
* Only write_to remains truly setuptools-scm specific (deprecated)
- Streamline overrides.md to explain version detection overrides vs
setuptools-scm configuration overrides
The documentation now follows a principle: explain the architecture once
in index.md, then let section organization speak for itself throughout.
Standard environment variable from [reproducible-builds.org](https://reproducible-builds.org/docs/source-date-epoch/).
217
+
218
+
### setuptools-scm Overrides
219
+
220
+
These environment variables control setuptools-scm specific behavior.
204
221
205
222
`SETUPTOOLS_SCM_IGNORE_VCS_ROOTS`
206
223
: a ``os.pathsep`` separated list
@@ -211,11 +228,15 @@ Callables or other Python objects have to be passed in `setup.py` (via the `use_
211
228
212
229
for example, set this to ``chg`` to reduce start-up overhead of Mercurial
213
230
231
+
`SETUPTOOLS_SCM_OVERRIDES_FOR_${DIST_NAME}`
232
+
: A TOML inline table to override configuration from `pyproject.toml`.
233
+
See the [overrides documentation](overrides.md#config-overrides) for details.
214
234
235
+
`SETUPTOOLS_SCM_SUBPROCESS_TIMEOUT`
236
+
: Override the subprocess timeout (default: 40 seconds).
237
+
See the [overrides documentation](overrides.md#subprocess-timeouts) for details.
215
238
216
-
217
-
218
-
## automatic file inclusion
239
+
## Automatic File Inclusion
219
240
220
241
!!! warning "Setuptools File Finder Integration"
221
242
@@ -274,8 +295,7 @@ tar -tzf dist/package-*.tar.gz
274
295
275
296
The file finder cannot be disabled through configuration - it's automatically active when setuptools-scm is installed. If you need to disable it completely, you must remove setuptools-scm from your build environment (which also means you can't use it for versioning).
0 commit comments