Skip to content

Commit 41c3e30

Browse files
committed
removed reading of readme.md from setup.py as it caused issues when installing through pip
1 parent c706d53 commit 41c3e30

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

setup.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,17 @@
11
import os
22
from setuptools import setup
33

4-
# Function for reading readme.
5-
def read(fname):
6-
return open(os.path.join(os.path.dirname(__file__), fname)).read()
7-
84
setup(
95
name = "pytesseract",
10-
version = "0.1",
6+
version = "0.1.3",
117
author = "Samuel Hoffstaetter",
128
author_email="",
139
maintainer = "Matthias Lee",
1410
maintainer_email = "[email protected]",
15-
description = ("Python-tesseract is a python wrapper for google's Tesseract-OCR "),
11+
description = ("Python-tesseract is a python wrapper for google's Tesseract-OCR"),
1612
license = "GPLv3",
1713
keywords = "python-tesseract OCR Python",
1814
url = "https://github.com/madmaze/python-tesseract",
1915
packages=['pytesseract'],
20-
long_description=read('README.md'),
2116
package_data = {'pytesseract': ['*.png','*.jpg']}
2217
)

0 commit comments

Comments
 (0)