From 168c9cfd5244b02909def2509968b20ca0147f7f Mon Sep 17 00:00:00 2001 From: Yi Ge Date: Tue, 30 Apr 2019 00:01:13 +0200 Subject: [PATCH] add setup files --- setup.cfg | 2 ++ setup.py | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 setup.cfg create mode 100644 setup.py diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b88034e --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..c60d061 --- /dev/null +++ b/setup.py @@ -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', + ], +) \ No newline at end of file