- Register and sign in at https://pypi.org.
- In
Account settings -> API tokens, create a token. - For the first release it is recommended to publish to TestPyPI first: https://test.pypi.org
python -m pip install -U build twine
python -m buildArtifacts are produced under dist/, including .whl and .tar.gz files.
python -m twine check dist/*python -m twine upload --repository testpypi dist/*Verify the install:
python -m pip install -i https://test.pypi.org/simple/ mumu-python-api-wlkjyypython -m twine upload dist/*$env:TWINE_USERNAME="__token__"
$env:TWINE_PASSWORD="pypi-xxxx"
python -m twine upload dist/*