In a Python 3 virtualenv:
pip install -e .
pip install -r requirements-dev.txt
make test
- Update
ocrd-tool.jsonversion (thesetup.pyversion is read from this) git addtheocrd-tool.jsonfile andgit commit -m 'v<version>'git tag -m 'v<version>' 'v<version>'git push; git push --tags- Wait and check if tests on CircleCI are OK
- Do a release on GitHub
rm -rf dist/or backup ifdist/exists already- In the virtualenv:
python setup.py sdist bdist_wheel twine upload dist/ocrd_calamari-<version>*
This project optionally uses pre-commit to check commits. To use it:
- Install pre-commit, e.g.
pip install -r requirements-dev.txt - Install the repo-local git hooks:
pre-commit install