Skip to content
Snippets Groups Projects
Commit 2db62ea4 authored by Vincent Texier's avatar Vincent Texier
Browse files

Add Pypi packaging and deploy documentation in README.rst

parent 5a1946c2
No related branches found
No related tags found
1 merge request!45Add README.rst for PyPI
......@@ -47,3 +47,35 @@ Documentation
* `HTML Documentation <https://github.com/duniter/duniter-python-api/tree/master/docs/_build/html>`_
* `Examples <https://github.com/duniter/duniter-python-api/tree/master/examples>`_
Packaging and deploy
--------------------
Pypi
++++
*The README file must be in RestructuredText format (README.rst) for the long description field of the package.*
In the development pyenv environment, install the following tools::
pip install --upgrade pip setuptools wheel
pip install twine
Change the version number (semantic version number)::
./release.sh 0.42.3
Build the Pypi package in the ``dist`` folder::
python setup.py sdist bdist_wheel
Deploy the package on the Pypi repository::
twine upload dist/*
Github
++++++
Add a tag with the semantic version number on the master branch and push on github to make a new github release.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment