Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 470 Bytes

README-DEV.md

File metadata and controls

22 lines (19 loc) · 470 Bytes

Testing

In a Python 3 virtualenv:

pip install -e .
pip install -r requirements-test.txt
make test

Releasing

  • Update ocrd-tool.json version
  • Update setup.py version
  • git commit -m 'v<version>'
  • git tag -m 'v<version>' 'v<version>'
  • git push --tags

Uploading to PyPI

  • rm -rf dist/ or backup if dist/ exists already
  • In the virtualenv: python setup.py sdist bdist_wheel
  • twine upload dist/ocrd_calamari-<version>*