Commit e5453c03 authored by Jerome Flesch's avatar Jerome Flesch

setup.py: Remove the dependency on PIL. It should actually work fine with Pillow also as-is

Signed-off-by: Jerome Flesch's avatarJerome Flesch <jflesch@gmail.com>
parent 3aba6f2e
......@@ -25,8 +25,7 @@ setup(name="pyocr",
package_dir={ 'pyocr': 'src' },
data_files=[],
scripts=[],
install_requires=[
"PIL"
],
# pyocr can use Pillow or PIL objects
install_requires=[],
)
......@@ -3,7 +3,7 @@
cuneiform.py is a wrapper for Cuneiform
USAGE:
> import Image
> from PIL import Image
> from cuneiform import image_to_string
> print image_to_string(Image.open('test.png'))
> print image_to_string(Image.open('test-european.jpg'), lang='fra')
......
......@@ -3,7 +3,7 @@
Wrapper for various OCR tools.
USAGE:
import Image
from PIL import Image
import sys
from pyocr import pyocr
......
......@@ -4,7 +4,7 @@ tesseract.py is a wrapper for google's Tesseract-OCR
( http://code.google.com/p/tesseract-ocr/ ).
USAGE:
> import Image
> from PIL import Image
> from tesseract import image_to_string
> print image_to_string(Image.open('test.png'))
> print image_to_string(Image.open('test-european.jpg'), lang='fra')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment