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.
23 lines
440 B
Markdown
23 lines
440 B
Markdown
Testing
|
|
-------
|
|
In a Python 3 virtualenv:
|
|
|
|
~~~
|
|
pip install -e .
|
|
pip install -r requirements-test.txt
|
|
make test
|
|
~~~
|
|
|
|
Release
|
|
-------
|
|
* Update ocrd-tool.json version
|
|
* Update setup.py version
|
|
* git commit -m 'v<version>'
|
|
* git tag -m 'v<version>' 'v<version>'
|
|
* git push --tags
|
|
|
|
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>*`
|