Merge branch 'main' into v3-api
# Conflicts: # pyproject.toml # src/eynollah/cli.pypull/130/head
commit
c6e0e058d0
@ -1 +1 @@
|
||||
qurator/eynollah/ocrd-tool.json
|
||||
src/eynollah/ocrd-tool.json
|
@ -1,27 +0,0 @@
|
||||
from setuptools import setup, find_namespace_packages
|
||||
from json import load
|
||||
|
||||
install_requires = open('requirements.txt').read().split('\n')
|
||||
with open('ocrd-tool.json', 'r', encoding='utf-8') as f:
|
||||
version = load(f)['version']
|
||||
|
||||
setup(
|
||||
name='eynollah',
|
||||
version=version,
|
||||
long_description=open('README.md').read(),
|
||||
long_description_content_type='text/markdown',
|
||||
author='Vahid Rezanezhad',
|
||||
url='https://github.com/qurator-spk/eynollah',
|
||||
license='Apache License 2.0',
|
||||
packages=find_namespace_packages(include=['qurator']),
|
||||
install_requires=install_requires,
|
||||
package_data={
|
||||
'': ['*.json']
|
||||
},
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'eynollah=qurator.eynollah.cli:main',
|
||||
'ocrd-eynollah-segment=qurator.eynollah.ocrd_cli:main',
|
||||
]
|
||||
},
|
||||
)
|
@ -1,7 +1,7 @@
|
||||
import sys
|
||||
import click
|
||||
from ocrd_utils import getLogger, initLogging, setOverrideLogLevel
|
||||
from qurator.eynollah.eynollah import Eynollah
|
||||
from ocrd_utils import initLogging, setOverrideLogLevel, getLogger
|
||||
from eynollah.eynollah import Eynollah
|
||||
|
||||
|
||||
@click.command()
|
@ -1,7 +1,7 @@
|
||||
def test_utils_import():
|
||||
import qurator.eynollah.utils
|
||||
import qurator.eynollah.utils.contour
|
||||
import qurator.eynollah.utils.drop_capitals
|
||||
import qurator.eynollah.utils.drop_capitals
|
||||
import qurator.eynollah.utils.is_nan
|
||||
import qurator.eynollah.utils.rotate
|
||||
import eynollah.utils
|
||||
import eynollah.utils.contour
|
||||
import eynollah.utils.drop_capitals
|
||||
import eynollah.utils.drop_capitals
|
||||
import eynollah.utils.is_nan
|
||||
import eynollah.utils.rotate
|
||||
|
Loading…
Reference in New Issue