You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
605 B
605 B
Testing
In a Python 3 virtualenv:
pip install -e .
pip install -r requirements-test.txt
make test
Releasing
- Update
ocrd-tool.json
version (thesetup.py
version is read from this) git add
theocrd-tool.json
file 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
Uploading to PyPI
rm -rf dist/
or backup ifdist/
exists already- In the virtualenv:
python setup.py sdist bdist_wheel
twine upload dist/ocrd_calamari-<version>*