import io
import os
import re
import setuptools


def read(*names, **kwargs):
    # Credits: https://packaging.python.org/single_source_version.
    here = os.path.dirname(__file__)
    encoding = kwargs.get('encoding', 'utf8')
    with io.open(os.path.join(here, *names), encoding=encoding) as fp:
        return fp.read()


def findVersion(*filePaths):
    # Credits: https://packaging.python.org/single_source_version.
    versionFile = read(*filePaths)
    versionMatch = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
                             versionFile, re.M)
    if versionMatch:
        return versionMatch.group(1)

    raise RuntimeError("Unable to find the version string.")


setuptools.setup(
    name='revl',
    version=findVersion('revl.py'),
    description="Helps to benchmark code for Autodesk Maya",
    long_description=read('README.rst'),
    keywords='Autodesk Maya API benchmark test',
    license='MIT',
    url='https://github.com/christophercrouzet/revl',
    author="Christopher Crouzet",
    author_email='christopher.crouzet@gmail.com',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Utilities'
    ],
    extras_require={
        'dev': ['coverage', 'sphinx>=1.3'],
        'docs': ['sphinx>=1.3'],
    },
    packages=[],
    py_modules=['revl'],
    include_package_data=True
)

@@ -47,16 +47,17 @@
 s%0A%0A%0Adef 
+_
 read(*na
@@ -68,24 +68,24 @@
  **kwargs):%0A
-
     # Credit
@@ -324,16 +324,17 @@
 )%0A%0A%0Adef 
+_
 findVers
@@ -435,16 +435,17 @@
 nFile = 
+_
 read(*fi
@@ -738,16 +738,17 @@
 version=
+_
 findVers
@@ -824,16 +824,16 @@
  Maya%22,%0A
-
     long
@@ -845,16 +845,17 @@
 ription=
+_
 read('RE

Add an underscore prefix to local functions