Skip to content

Publishing to PyPI

Staś Małolepszy edited this page Oct 23, 2018 · 10 revisions

python-fluent is available on PyPI as fluent.

Setup

To publish new versions, first follow the setup instructions regarding .pypirc.

Version numbers

For patch releases, where only the Z in X.Y.Z changes, choose Z as max(current Z of fluent-syntax (JS), current Z of fluent.syntax (Python)) + 1.

Publishing new versions

  1. Update setup.py and CHANGELOG.md.

  2. Commit and push:

    $ git commit -m "fluent X.Y.Z"
    $ git push
    
  3. Draft a new release on GitHub.

    • Use X.Y.Z for the tag name (without the v).
    • Use fluent X.Y.Z for the release title.
    • Copy the relevant part of the CHANGELOG.
  4. Publish:

    $ python setup.py sdist upload -r pypi
    
Clone this wiki locally