eynollah/setup.py

29 lines
843 B
Python
Raw Normal View History

from setuptools import setup, find_packages
2021-05-04 18:12:21 +02:00
from json import load
2020-11-20 12:49:27 +01:00
install_requires = open('requirements.txt').read().split('\n')
2021-05-04 18:12:21 +02:00
with open('ocrd-tool.json', 'r', encoding='utf-8') as f:
version = load(f)['version']
2020-11-20 12:49:27 +01:00
setup(
name='eynollah',
2021-05-04 18:12:21 +02:00
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',
2024-02-23 20:18:38 +01:00
namespace_packages=['eynollah'],
2021-02-24 18:49:05 +01:00
packages=find_packages(exclude=['tests']),
install_requires=install_requires,
2021-04-14 11:55:44 +02:00
package_data={
'': ['*.json']
},
entry_points={
'console_scripts': [
2024-02-23 20:18:38 +01:00
'eynollah=eynollah.eynollah.cli:main',
'ocrd-eynollah-segment=eynollah.eynollah.ocrd_cli:main',
]
},
)