Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 760 Bytes

RELEASE.rst

File metadata and controls

31 lines (17 loc) · 760 Bytes

Release Steps

  1. Create a signed tag:
git tag -s VERSION
  1. Create a Source Distribution:
python setup.py sdist
  1. Create a Wheel:
python setup.py bdist_wheel
  1. Create a detached signature of the wheel and sdist:
for relfile in dist/*; do gpg -a --detach-sign $relfile; done
  1. Upload both to pypi Test:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
  1. Verify the install works on both from pypi test:
pip install --extra-index-url https://test.pypi.org/simple/ --only-binary wheel --no-cache-dir newsreader pip install --extra-index-url https://test.pypi.org/simple/ --no-cache-dir --no-binary newsreader newsreader
  1. Upload the package and signature to pypi prod:
twine upload dist/*