Closed ocefpaf closed 6 years ago
@ocefpaf Thanks for this. So now I can just create a release (tag) and versioneer will be able to parse the version number? Then I can push to PyPI as normal?
So now I can just create a release (tag) and versioneer will be able to parse the version number?
Ye, the tag format must have a v
first, like v1.0.0
.
Then I can push to PyPI as normal?
Not sure what is your workflow but I usually do:
git checkout <tag version>
python setup.py sdist # for the source distribution
python setup.py bdist_wheel # for the binary distribution
wine upload dist/* # to upload both to PyPI.
Versioneer will do the right thing there and "print" the tag into the right places.
xref.: https://github.com/ioos/cc-plugin-ugrid/pull/8#discussion_r185302446