import os
from setuptools import setup


longDesc = ""
if os.path.exists("README.rst"):
	longDesc = open("README.rst").read().strip()

setup(
    name = "pytesseract",
    version = "0.1.6",
    author = "Samuel Hoffstaetter",
    author_email="",
    maintainer = "Matthias Lee",
    maintainer_email = "pytesseract@madmaze.net",
    description = ("Python-tesseract is a python wrapper for google's Tesseract-OCR"),
    long_description = longDesc,
    license = "GPLv3",
    keywords = "python-tesseract OCR Python",
    url = "https://github.com/madmaze/python-tesseract",
    packages=['pytesseract'],
    package_dir={'pytesseract': 'src'},
    package_data = {'pytesseract': ['*.png','*.jpg']},
    entry_points = {'console_scripts': ['pytesseract = pytesseract.pytesseract:main']},
    classifiers = [
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ]
)

import os
from setuptools import setup


longDesc = ""
if os.path.exists("README.md"):
	longDesc = open("README.md").read().strip()

setup(
    name = "pytesseract",
    version = "0.1.6",
    author = "Samuel Hoffstaetter",
    author_email="",
    maintainer = "Matthias Lee",
    maintainer_email = "pytesseract@madmaze.net",
    description = ("Python-tesseract is a python wrapper for google's Tesseract-OCR"),
    long_description = longDesc,
    license = "GPLv3",
    keywords = "python-tesseract OCR Python",
    url = "https://github.com/madmaze/python-tesseract",
    packages=['pytesseract'],
    package_dir={'pytesseract': 'src'},
    package_data = {'pytesseract': ['*.png','*.jpg']},
    entry_points = {'console_scripts': ['pytesseract = pytesseract.pytesseract:main']},
    classifiers = [
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ]
)

--- 
+++ 
@@ -3,8 +3,8 @@
 
 
 longDesc = ""
-if os.path.exists("README.md"):
-	longDesc = open("README.md").read().strip()
+if os.path.exists("README.rst"):
+	longDesc = open("README.rst").read().strip()
 
 setup(
     name = "pytesseract",
Update the long_description with README.rst