pip install -U build
python3 -m build
- Edit
fhirclient/client.pyand change the__version__field. - Edit
docs/Doxyfileand change thePROJECT_NUMBERfield.
- Make sure that the version is correct in the source (see above for update instructions).
- Update the docs
- Release on GitHub
- Announce on Zulip
Docs are generated with Doxygen
and doxypypy.
You can install doxypypy via pip: pip install doxypypy.
Then you can just run Doxygen. Configuration is stored in docs/Doxyfile.
Running Doxygen will put the generated HTML documentation into docs/html.
Those files make up the content of the gh-pages branch.
I usually perform a second checkout of the gh-pages branch and copy the HTML files over, with:
doxygen docs/Doxyfile
rsync -aC --delete docs/html/ ../client-py-web/
Just create a new release in GitHub and create a corresponding tag.
This will also cause the pypi.yaml GitHub Action to fire, uploading to PyPI.
Make a post in the Zulip channel for python.