Skip to content

How to release

nesnoj edited this page Sep 8, 2017 · 8 revisions

(DRAFT, PLEASE AMEND)

  1. Re-Check setup.py
    1. Set version no.
    2. Check if (upper limit of) versions of required packages are up-to-date (you may test your package with the latest versions and update accordingly)
    3. ... (please amend)
  2. Create pull request (to master)
  3. Merge or let someone else merge it
  4. Create a release tag on master
  5. Release via PyPI (if you don't have permissions for this repo, ask someone who does)
    1. The upload requires a ~/.pypirc file with your PyPI credentials.
    2. Make sure you are in master branch.
    3. Use python3 setup.py register sdist upload to register and upload package to PyPI.
  6. Adjust setup.py of dev: Set new version no. for next release

See also: Example from oemof

Clone this wiki locally