Black belt is collection of scripts, tools and guidelines used for developing projects The Apiary Way.
Please refer to The Black Belt Documentation.
virtualenv
assumed (sudo pip install virtualenv
) and Python 2.7
virtualenv --python=/usr/local/bin/python2.7 venv
source venv/bin/activate
pip install paver
pip install -r requirements-development.txt
paver develop
paver test
paver test
If you ran bb init
and you want to do "discovery testing" with the integration tests,
set FORCE_DISCOVERY
environment variable to 1
.
If you try run paver bump
and get error TypeError: 'map' object is not subscriptable
you can run ./venv/bin/paver bump
to fix this.
When the time is right, run paver bump
.
When adding new feature (command etc), run paver bump major
instead.
After it, just call paver release
and enjoy your PyPI.
Note: GPG must be properly configured for usage with git tag -s
and you must be project maintainer on PyPI.