Install build
and twine
pip install build twine
Create ~/.pypirc
[pypi]
username: ...
password: ...
[testpypi]
repository: https://test.pypi.org/legacy/
username: ...
password: ...
-
Ensure tests are passing.
-
Update version in
isimip_utils/__init__.py
. -
Build
sdist
andbdist_wheel
:python -m build
-
Check:
twine check dist/*
-
Upload with
twine
to Test PyPI:twine upload -r testpypi dist/*
-
Upload with
twine
to PyPI:twine upload dist/*
-
Check at https://pypi.org/project/isimip-utils/.
-
Commit local changes.
-
Push changes.
-
Create release on https://github.com/ISI-MIP/isimip-utils/releases).