Requires: pip install twine
Don't forget to increment version number
Bump version (major, minor or patch):
bump2version patch
Download distributions
make dist
Upload to test PyPi
make check-dist
make test-pypi
Activate virtual env (might need to make venv-create
)
source dataclassframe-venv/bin/activate
Test install (in virtual env):
pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple dataclassframe
Then push to real PyPI:
rm -r dist
make dist
make pypi-upload