forked from emedvedev/attention-ocr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 916 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from setuptools import find_packages
from setuptools import setup
REQUIRED_PACKAGES = ['distance', 'numpy', 'six', 'pillow']
VERSION = '0.7.5'
try:
import pypandoc
README = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
README = open('README.md').read()
setup(
name='aocr',
url='https://github.com/emedvedev/attention-ocr',
download_url='https://github.com/emedvedev/attention-ocr/archive/{}.tar.gz'.format(VERSION),
author='Ed Medvedev',
author_email='[email protected]',
version=VERSION,
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
include_package_data=True,
license='MIT',
description=('''Optical character recognition model '''
'''for Tensorflow based on Visual Attention.'''),
long_description=README,
entry_points={
'console_scripts': ['aocr=aocr.__main__:main'],
}
)