Skip to content

Commit

Permalink
Merge pull request JaidedAI#157 from iceout/dev
Browse files Browse the repository at this point in the history
Compatible with python 2.7
  • Loading branch information
rkcosmos authored Jul 19, 2020
2 parents cb652d8 + 5b2524d commit b2cde19
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
"""

from setuptools import setup
from io import open


with open('requirements.txt', encoding="utf-8-sig") as f:
requirements = f.readlines()

with open('requirements.txt', encoding = "utf-8-sig") as f:
requirements = f.readlines()

def readme():
with open('README.md', encoding = "utf-8-sig") as f:
with open('README.md', encoding="utf-8-sig") as f:
README = f.read()
return README

Expand All @@ -17,12 +20,12 @@ def readme():
packages=['easyocr'],
include_package_data=True,
version='1.1.4',
install_requires = requirements,
install_requires=requirements,
entry_points={"console_scripts": ["easyocr= easyocr.cli:main"]},
license='Apache License 2.0',
description='End-to-End Multi-Lingual Optical Character Recognition (OCR) Solution',
long_description = readme(),
long_description_content_type ="text/markdown",
long_description=readme(),
long_description_content_type="text/markdown",
author='Rakpong Kittinaradorn',
author_email='r.kittinaradorn@gmail.com',
url='https://github.com/jaidedai/easyocr',
Expand Down

0 comments on commit b2cde19

Please sign in to comment.