Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 696 Bytes

HowToRelease.md

File metadata and controls

31 lines (23 loc) · 696 Bytes

Release instructions

Using twine : https://twine.readthedocs.io/en/latest/

  1. Update the __version__ in nlcodec/__init__.py
    rm -r build dist nlcodec.egg-info
  2. Build :: $ python setup.py sdist bdist_wheel
  3. Upload to testpypi :: $ twine upload -r testpypi dist/*
  4. Upload to pypi :: $ twine upload -r pypi dist/*

The .pypirc file

The rc file ~/.pypirc should have something like this

[distutils]
index-servers =
    pypi
    testpypi

[pypi]
repository: https://upload.pypi.org/legacy/
username:Thamme.Gowda
password:<password_here>


[testpypi]
repository: https://test.pypi.org/legacy/
username:Thamme.Gowda
password:<password_here>