Development of nbstripout happens on GitHub - bug reports and pull requests welcome!
To simplify updating the version number consistently across different files and creating the appropriate annotated tag, we use bump-my-version. For a new patch release, run
bump-my-version bump patch
and for a minor release, run
bump-my-version bump minor
Remember to also push the release tag with git push --tags
.
Use twine to upload the new release to PyPI:
python -m build
twine check dist/nbstripout-0.8.1*
twine upload -r testpypi dist/nbstripout-0.8.1*
twine upload dist/nbstripout-0.8.1*