-
-
Notifications
You must be signed in to change notification settings - Fork 224
Description
I've been reading through your docs https://github.com/pypa/setuptools_scm/blob/master/README.rst and I'm having a hard time to figure out how setuptools_scm
works.
Question 1:
I see an option use_scm_version
is passed to setuptools.setup
.
Looking at the docs for setuptools https://setuptools.readthedocs.io/en/latest/ I can't find this option!? (might have missed it, unfortunately those docs don't have the normal Sphinx search field!?)
Is this option to setuptools.setup
somehow an extension that's provided by the setuptools_scm
package itself?
Question 2:
Does setuptools_scm
ever generate a file with a version number?
The docs mention PKG-INFO
under:
https://github.com/pypa/setuptools_scm/blob/master/README.rst#builtin-mechanisms-for-obtaining-version-numbers
Does setuptools_scm
compute or directly store a version number in PKG-INFO
or some other file?
Please consider this issue as a documentation request for people like me, that would like to understand how setuptools and setuptools_scm work and for which of my projects I should consider using setuptools_scm
. (I guess all Python / git projects?)
Some extra sentences and links to relevant info (e.g. https://www.python.org/dev/peps/pep-0314/) would help.
Links to a few packages using setuptools_scm as "working examples" that I can look at and play around with before trying to modify my existing packages would also be very useful.