Fixed font text area below list commands expected to be entered in a bash shell
- Configure
~/.pypirc
as described here. - Make sure the cli and module work as expected.
- Choose the next release version number:
release="X.Y.Z"
- Tag the release and push:
If you don't have a GPG key, omit the ``-s`` option.
git tag -s -m "hdmf-docutils ${release}" ${release} origin/main git push origin ${release}
- Create the source tarball and wheel:
rm -rf dist/ python setup.py sdist bdist_wheel
- Upload the packages to the testing PyPI instance:
pip install --upgrade twine twine upload -r testpypi dist/*
Check the PyPI testing package page.
- Upload the packages to the PyPI instance:
twine upload dist/*
Check the PyPI package page.