|
|
@ -8,15 +8,15 @@ pip install -r requirements-test.txt
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
~~~
|
|
|
|
~~~
|
|
|
|
|
|
|
|
|
|
|
|
Release
|
|
|
|
Releasing
|
|
|
|
-------
|
|
|
|
---------
|
|
|
|
* Update `ocrd-tool.json` version
|
|
|
|
* Update `ocrd-tool.json` version
|
|
|
|
* Update `setup.py` version
|
|
|
|
* Update `setup.py` version
|
|
|
|
* `git commit -m 'v<version>'`
|
|
|
|
* `git commit -m 'v<version>'`
|
|
|
|
* `git tag -m 'v<version>' 'v<version>'`
|
|
|
|
* `git tag -m 'v<version>' 'v<version>'`
|
|
|
|
* `git push --tags`
|
|
|
|
* `git push --tags`
|
|
|
|
|
|
|
|
|
|
|
|
PyPI:
|
|
|
|
### Uploading to PyPI
|
|
|
|
* `rm -rf dist/` or backup if `dist/` exists already
|
|
|
|
* `rm -rf dist/` or backup if `dist/` exists already
|
|
|
|
* In the virtualenv: `python setup.py sdist bdist_wheel`
|
|
|
|
* In the virtualenv: `python setup.py sdist bdist_wheel`
|
|
|
|
* `twine upload dist/ocrd_calamari-<version>*`
|
|
|
|
* `twine upload dist/ocrd_calamari-<version>*`
|
|
|
|