1
0
Fork 0
mirror of https://github.com/mikegerber/ocrd_calamari.git synced 2025-07-05 16:39:53 +02:00
ocrd_calamari/README-DEV.md

24 lines
605 B
Markdown
Raw Normal View History

Testing
-------
In a Python 3 virtualenv:
~~~
pip install -e .
pip install -r requirements-test.txt
make test
~~~
Releasing
---------
* Update `ocrd-tool.json` version (the `setup.py` version is read from this)
* `git add` the `ocrd-tool.json` file and `git commit -m 'v<version>'`
2020-02-06 13:03:06 +01:00
* `git tag -m 'v<version>' 'v<version>'`
2022-02-23 14:33:37 +01:00
* `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 if `dist/` exists already
* In the virtualenv: `python setup.py sdist bdist_wheel`
* `twine upload dist/ocrd_calamari-<version>*`