Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 567 Bytes

pypi.md

File metadata and controls

32 lines (23 loc) · 567 Bytes

This is how you create the PyPI package and upload to the PyPI repo

  • Prerequisite:

    • Create an account
    • Install required packages:
pip install tqdm
pip install  twine
pip install setuptools wheel
  • Step 1, build the source distribution
python setup.py sdist
  • Step 2, build distribution
python setup.py bdist_wheel --universal
  • Step 3, upload
python -m twine upload dist/* 

Tips

Everytime you want to upload a new version you have to increment the version number within the setup.py file.