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

30 lines
945 B
Python

# -*- coding: utf-8 -*-
from json import load
from setuptools import setup, find_packages
5 years ago
with open('./ocrd-tool.json', 'r') as f:
version = load(f)['version']
5 years ago
install_requires = open('requirements.txt').read().split('\n')
setup(
name='sbb_binarization',
version=version,
description='Pixelwise binarization with selectional auto-encoders in Keras',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
author='Vahid Rezanezhad',
url='https://github.com/qurator-spk/sbb_binarization',
license='Apache License 2.0',
packages=find_packages(exclude=('test', 'repo')),
include_package_data=True,
4 years ago
package_data={'': ['*.json', '*.yml', '*.yaml']},
install_requires=install_requires,
entry_points={
'console_scripts': [
'sbb_binarize=sbb_binarize.cli:main',
'ocrd-sbb-binarize=sbb_binarize.ocrd_cli:cli',
]
},
)