-
-
Notifications
You must be signed in to change notification settings - Fork 43
Home
Olivier Michel edited this page Oct 15, 2021
·
10 revisions
python -m pip install setuptools wheel twine
Creating a new GitHub release will trigger the Upload Python Package
GitHub action that will create and upload the package automatically.
Note:: don't save the release as a draft, but publish it directly otherwise the GitHub action will not be triggered.
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