Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 411 Bytes

guide-to-publish.md

File metadata and controls

24 lines (20 loc) · 411 Bytes

How to publish to PyPi

  1. If present remove build and dist folder

  2. Recursively remove all .egg-info files On powershell you can do this with

rm -r *.egg-info
  1. If not done yet, install twine via
pip install twine
  1. Update the version number in the setup.py file.

  2. Re-create the wheels:

python setup.py sdist bdist_wheel
  1. Re-upload the new files:
twine upload dist/*