Closed sim0nx closed 6 months ago
Please note that in order to build packages, you should after merging this, do the following:
pip install -U pip build python -m build
This should probably be included in the documentation
Please note that in order to build packages, you should after merging this, do the following:
pip install -U pip build python -m build
This should probably be included in the documentation
updated release-howto.md
Another thing, the RELEASE-HOWTO.md
probably needs some modifications (after several really silly embarrassing mistakes while releasing, I've made a rather complicated procedure to make sure I'm on the correct branch, that the version number is updated, that the tag is correct and that I'm doing the dist from a clean checkout - I suppose some of the steps may be sidestepped now).
Seems like my last comment was posted some seconds too late :-)
Or maybe not. There are still some steps in the RELEASE-HOWTO that doesn't make sense now I think (like grepping for the version number from __init__.py
)
I removed those obsolete parts. Should hopefully be fine now :-)
>>> import caldav
>>> caldav.__version__
'1.3.10.dev4+g70e7856.d20231219'
lovely :-)
fixes #357
Please note that in order to build packages, you should after merging this, do the following:
The version variable will be available just as before, but auto-generated.
Ref: https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives