[docs] How to release the pypi package
@@ -796,7 +796,24 @@ Then connect to the server and index the package:
### Pypi
-TBD
+The Python API and CLI (and soon API) are being transitioned to https://github.com/gethue/compose which host the `compose` and `compose-admin` commands.
+
+How to update the repo https://pypi.org/project/gethue/:
+
+ rm -rf dist && python3 -m build && python3 -m twine upload dist/*
+
+ python3 -m pip install gethue --upgrade
+
+Note:
+
+A Pypi token will be needed. For doing a test release https://test.pypi.org/project/gethue/ is handy:
+
+ python3 -m pip install --upgrade build
+
+ rm -rf dist && python3 -m build && python3 -m twine upload --repository testpypi dist/*
+ python3 -m pip install --index-url https://test.pypi.org/simple/ gethue --upgrade
+
+Read more on [Python packaging](https://packaging.python.org/tutorials/packaging-projects/#generating-distribution-archives).
### Documentation
