add setup files

This commit is contained in:
Yi Ge 2019-04-30 00:01:13 +02:00
parent 7ebf6a17f8
commit 168c9cfd52
2 changed files with 28 additions and 0 deletions

2
setup.cfg Normal file
View File

@ -0,0 +1,2 @@
[metadata]
description-file = README.md

26
setup.py Normal file
View File

@ -0,0 +1,26 @@
from distutils.core import setup
setup(
name = 'videocr',
packages = ['videocr'],
version = '0.1.1',
license = 'MIT',
description = 'Extract hardcoded subtitles from videos using machine learning',
author = 'Yi Ge',
author_email = 'me@yige.ch',
url = 'https://github.com/apm1467/videocr',
download_url = 'https://github.com/apm1467/videocr/archive/v0.1.tar.gz',
install_requires = [
'fuzzywuzzy>=0.17',
'python-Levenshtein>=0.12',
'opencv-python>=4.1,<5.0',
'pytesseract>=0.2.6'
],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
)