Uploading a new version of rtwo to the pypi can be tough. Here are some pointers.
pip install twine wheel
This document does NOT cover:
- Going to 'keybase.io'
- Creating a Keybase Account
- Installing Keybase CLI
- calling 'keybase login'
But if you follow those steps above you will be ready to move forward.
Updating the version is CRITICAL when you make changes, because other projects may depend on specific solutions from older versions of rtwo.
Edit the rtwo/version.py
module and change the appropriate integer in the VERSION
line to reflect the changes made.
VERSION = (major_change, minor_change, patch_change, 'dev', 0)
python setup.py sdist bdist_wheel
cd dist/
gpg --no-use-agent --detach-sign -a rtwo-$VERSION-py2-none-any.whl
gpg --no-use-agent --detach-sign -a rtwo-$VERSION.tar.gz
cd ..
twine upload dist/*
# No longer need these files after uploading
rm dist/rtwo-$VERSION
pip install rtwo==$VERSION
See links below: