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_
108
108
: used as the primary source for the version number
109
109
in which case it will be an unparsed string
110
110
111
- !!! warning "it is strongly recommended to use use distribution name specific pretend versions "
111
+ !!! warning ""
112
112
113
+ it is strongly recommended to use distribution-specific pretend versions
114
+ (see below).
113
115
114
116
` 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 ``
117
122
118
123
the dist name normalization follows adapted PEP 503 semantics, with one or
119
124
more of ".-_" being replaced by a single "_", and the name being upper-cased
120
125
121
- it takes precedence over ``SETUPTOOLS_SCM_PRETEND_VERSION``
126
+ this will take precedence over ``SETUPTOOLS_SCM_PRETEND_VERSION``
122
127
123
128
` SETUPTOOLS_SCM_DEBUG `
124
129
: enable the debug logging
You can’t perform that action at this time.
0 commit comments