-
create package distribution
python setup.py sdist bdist_wheel
-
Test if Package is without errors
twine check dist/*
-
upload package
python -m twine upload dist/*
see also: https://packaging.python.org/tutorials/packaging-projects/
- create API doc from docstring into folder docs/
cd docs/
sphinx-apidoc ../<package>
Helpful instructions: https://samnicholls.net/2016/06/15/how-to-sphinx-readthedocs/