🧹 Remove qurator. namespace prefix

pull/81/head
Mike Gerber 1 year ago
parent f668963a2e
commit f1fc3f1880

@ -1,6 +1,6 @@
Testing Testing
======= =======
Use `pytest` to run the tests in [the tests directory](qurator/dinglehopper/tests): Use `pytest` to run the tests in [the tests directory](dinglehopper/tests):
```bash ```bash
virtualenv -p /usr/bin/python3 venv virtualenv -p /usr/bin/python3 venv
. venv/bin/activate . venv/bin/activate
@ -27,7 +27,7 @@ pytest
All tests with code coverage: All tests with code coverage:
```bash ```bash
pytest --cov=qurator --cov-report=html pytest --cov=dinglehopper --cov-report=html
``` ```
Static code analysis: Static code analysis:

@ -1 +1 @@
qurator/dinglehopper/ocrd-tool.json dinglehopper/ocrd-tool.json

@ -16,8 +16,7 @@ setup(
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
keywords="qurator ocr", keywords="qurator ocr",
license="Apache", license="Apache",
packages=find_namespace_packages(include=["qurator.*"]) packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
+ find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
install_requires=install_requires, install_requires=install_requires,
tests_require=tests_require, tests_require=tests_require,
package_data={ package_data={
@ -25,10 +24,10 @@ setup(
}, },
entry_points={ entry_points={
"console_scripts": [ "console_scripts": [
"dinglehopper=qurator.dinglehopper.cli:main", "dinglehopper=dinglehopper.cli:main",
"dinglehopper-line-dirs=qurator.dinglehopper.cli_line_dirs:main", "dinglehopper-line-dirs=dinglehopper.cli_line_dirs:main",
"dinglehopper-extract=qurator.dinglehopper.cli_extract:main", "dinglehopper-extract=dinglehopper.cli_extract:main",
"ocrd-dinglehopper=qurator.dinglehopper.ocrd_cli:ocrd_dinglehopper", "ocrd-dinglehopper=dinglehopper.ocrd_cli:ocrd_dinglehopper",
] ]
}, },
) )

Loading…
Cancel
Save