Skip to content
David Mansolino edited this page Jul 2, 2020 · 10 revisions

Install dependencies

python -m pip install setuptools wheel twine

Release the Package

Automatically

Creating a new Github release will trigger the Upload Python Package Github action that will create and upload the package automatically.

Manually

python setup.py bdist_wheel
python -m twine upload --repository pypi dist/*
#python -m twine upload --repository pypitest dist/*

To upload you have to make sure that C:\Users\UserName\.pypirc / ~/.pypirc contains:

[distutils]
index-servers =
  pypi
  pypitest

[pypi]
username: Cyberbotics
password: password

[pypitest]
repository: https://test.pypi.org/legacy/
username: Cyberbotics
password: password
Clone this wiki locally