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.
eynollah/setup.py

29 lines
840 B
Python

from setuptools import setup, find_packages
3 years ago
from json import load
3 years ago
install_requires = open('requirements.txt').read().split('\n')
3 years ago
with open('ocrd-tool.json', 'r', encoding='utf-8') as f:
version = load(f)['version']
3 years ago
setup(
name='eynollah',
3 years ago
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',
namespace_packages=['qurator'],
packages=find_packages(exclude=['tests']),
install_requires=install_requires,
package_data={
'': ['*.json']
},
entry_points={
'console_scripts': [
'eynollah=qurator.eynollah.cli:main',
3 years ago
'ocrd-eynollah-segment=qurator.eynollah.ocrd_cli:main',
]
},
)