Closed BrianPugh closed 4 months ago
I'd like you to revert the changes from #16 and I'll merge this
This PR didn't have commits from #16 (#16 was based on this PR, not the other way around). Regardless, I rebased this PR off of current main and resolved conflicts. Ready for another look! Thanks again for merging and cutting releases!
The main goal of this PR is to keep
rich_rst.__version__
in sync with the actual tagged version. This PR also migrates the project over to the more modernpyproject.toml
project configuration.I also added
setuptool-scm
. Basically it will infer the version based off of the most recent git tag it can find. E.g. if you do:and then do a
it will build:
It updates the internal
__version__
variable for you too:I'll be following this up with a github action to do automatic publishing for you.