File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -108,17 +108,22 @@ Callables or other Python objects have to be passed in `setup.py` (via the `use_
108108: used as the primary source for the version number
109109 in which case it will be an unparsed string
110110
111- !!! warning "it is strongly recommended to use use distribution name specific pretend versions "
111+ !!! warning ""
112112
113+ it is strongly recommended to use distribution-specific pretend versions
114+ (see below).
113115
114116` SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${NORMALIZED_DIST_NAME} `
115- : used as the primary source for the version number
116- in which case it will be an unparsed string
117+ : used as the primary source for the version number,
118+ in which case it will be an unparsed string.
119+ Specifying distribution-specific pretend versions will
120+ avoid possible collisions with third party distributions
121+ also using `` setuptools_scm ``
117122
118123 the dist name normalization follows adapted PEP 503 semantics, with one or
119124 more of ".-_" being replaced by a single "_", and the name being upper-cased
120125
121- it takes precedence over ``SETUPTOOLS_SCM_PRETEND_VERSION``
126+ this will take precedence over ``SETUPTOOLS_SCM_PRETEND_VERSION``
122127
123128` SETUPTOOLS_SCM_DEBUG `
124129: enable the debug logging
You can’t perform that action at this time.
0 commit comments