Grab the source from Github: https://github.com/kumar303/mohawk
You can run the full test suite with the tox command:
tox
To just run Python 2.7 unit tests type:
tox -e py27
To just run doctests type:
tox -e docs
Using a virtualenv you can set yourself up for development like this:
pip install -r requirements/dev.txt python setup.py develop
Tox will leave documentation artifacts in .tox/docs/tmp/html/index.html
but you can also build them manually like this:
make -C docs/ html doctest open docs/_build/html/index.html
Do this first to prepare for a release:
- make sure the changelog is up to date
- make sure you bumped the module version in
setup.py
- commit, tag (like
git tag 0.3.1
), and push upstream
To publish the new release on PyPI, run this from the repository root:
python setup.py sdist register upload