Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1 KB

update_version.md

File metadata and controls

42 lines (30 loc) · 1 KB

Update version

This document is written for collaborators and describes how to update the package on PyPi. This tutorial as basically aligned with python packaging tutorial.

Accounts

Projects

Update version

Be sure you have installed the requirements.txt and your pip is up to date.

# Build library
python3 setup.py sdist bdist_wheel
  • Upload the new packages to test PyPi
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
  • Test it with a project.
pip install -i https://test.pypi.org/simple/ hueyx
  • If everything is ok, upload the packge to PyPi.
twine upload dist/*