reformat setup.py

This commit is contained in:
Yi Ge 2019-12-15 21:49:57 +08:00
parent f8e99465c7
commit 51ab92cca4

View File

@ -4,28 +4,28 @@ with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read() readme = f.read()
setup( setup(
name = 'videocr', name='videocr',
packages = ['videocr'], packages=['videocr'],
version = '0.1.5', version='0.1.5',
license = 'MIT', license='MIT',
description = 'Extract hardcoded subtitles from videos using machine learning', description='Extract hardcoded subtitles from videos using machine learning',
long_description_content_type = 'text/markdown', long_description_content_type='text/markdown',
long_description = readme, long_description=readme,
author = 'Yi Ge', author='Yi Ge',
author_email = 'me@yige.ch', author_email='me@yige.ch',
url = 'https://github.com/apm1467/videocr', url='https://github.com/apm1467/videocr',
download_url = 'https://github.com/apm1467/videocr/archive/v0.1.5.tar.gz', download_url='https://github.com/apm1467/videocr/archive/v0.1.5.tar.gz',
install_requires = [ install_requires=[
'fuzzywuzzy>=0.17', 'fuzzywuzzy>=0.17',
'python-Levenshtein>=0.12', 'python-Levenshtein>=0.12',
'opencv-python>=4.1,<5.0', 'opencv-python>=4.1,<5.0',
'pytesseract>=0.2.6' 'pytesseract>=0.2.6'
], ],
classifiers = [ classifiers=[
'Development Status :: 3 - Alpha', 'Development Status :: 3 - Alpha',
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', 'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
], ],
) )