Create a gist now

Instantly share code, notes, and snippets.

@danriti /pypi.md
Last active Jan 18, 2016

What would you like to do?
pypi release notes / checklist

Basic Instruction Before Releasing to PyPI

  1. Update history

  2. Increment version

  3. Run tox tests for Python 2.7, 3.2, 3.3, 3.4, 3.5:

    PATH=~/opt/bin 
    export TV_API_KEY=XXX
    export TV_APP_NAME=XXX
    TOX_TESTENV_PASSENV="TV_API_KEY TV_APP_NAME" tox
    
  4. Merge/close pull request

  5. Test on pypi test server:

    • python setup.py sdist upload -r https://testpypi.python.org/pypi
    • (look for any pypi documentation display problems)
    • source testpypi/bin/activate
    • pip uninstall python-traceview
    • pip install -i https://testpypi.python.org/pypi python-traceview
    • (test a new feature!)
  6. Create a release on Github: https://github.com/danriti/python-traceview/releases

  7. Activate the new version on https://readthedocs.org

  8. Release to pypi:

    • python setup.py sdist upload
    • (look for any display problems)
    • (test it!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment