Publishing to PyPi#
Prepare the release#
Increment the version number appropriately in lentil/__init__.py according to PEP 440.
Document contents of the release in CHANGES.rst
Commit the changes from above on the master branch with a commit message equal to the short version name (i.e.
v0.3.2
orv0.5.0b2
).Push the updated master branch and create a new release.
Build the release#
$ python setup.py sdist bdist_wheel
Upload the release#
$ twine upload dist/*
Note
Only core dev team members are able to publish new releases to PyPi.