-
-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use setuptools_scm for versioning #474
Comments
@RonnyPfannschmidt not surprised about your thumbs up here ;) great little tool - thanks for that! |
I wonder if we might run into this problem: rtfd/readthedocs.org » bad interaction with setuptools_scm. Just leaving this here as a reminder in case there are problems with building the docs. Will use recommended way to start with. |
@obestwalter it will help to just use pkg_ressoruces or the version files for then rtd usage |
Maybe bumpversion could be of interest here. You can define in It can as well commit the changes and create a git tag automatically. Here is a typical configuration I use: [bumpversion]
current_version = 1.0.3
commit = True
tag = True
[bumpversion:file:setup.py]
[bumpversion:file:src/app/__init__.py]
[bumpversion:file:docs/conf.py] |
@pawamoy thanks for the tip, but as setuptools_scm is the pypa blessed package to do that and our @RonnyPfannschmidt is the core dev I rather go with that :) |
one of the reasons i created setuptools_scm and pushed it into pypa is this mess of editing and committing dozens and dozens of files of actual data just to create metadata - when one can just use metadata |
Just a note of warning about |
oh well, another case of maintainer burnout - or just loss of interest. |
This tool hooks into
setup.py
and provides versioning from e.g. git tags. This makes frequent releases less painful as there is no manual version setting in the sources necessary anymore as this is set and read from git tags.The default versioning does already what we need for tox versioning.
The text was updated successfully, but these errors were encountered: