Publishing to PyPi#

Prepare the release#

  1. Increment the version number appropriately in lentil/__init__.py according to PEP 440.

  2. Document contents of the release in CHANGES.rst

  3. Commit the changes from above on the master branch with a commit message equal to the short version name (i.e. v0.3.2 or v0.5.0b2).

  4. 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.