old_contents: from setuptools import setup
  from codecs import open as _open
  from os import path
  import re
  
  
  def readme():
      # Get the long description from the README file
      readme_file = path.join(path.abspath(path.dirname(__file__)), "README.rst")
      with _open(readme_file, "rb", encoding='utf-8') as opened_file:
          return opened_file.read()
  
  
  def version(name):
      with open(name, 'rb') as opened:
          search_refind = b'__version__ = ["\'](\d+\.\d+\.\d+)["\']'
          verdata = re.search(search_refind, opened.read())
          if verdata:
              data = verdata.group(1)
              return data.decode()
          else:
              raise RuntimeError("Unable to extract version number")
  
  
  setup(name='urlquick',
        version=version('urlquick.py'),
        description='A light-weight http client with requests like interface.'
                    'Featuring persistent connectionsand caching support.',
        long_description=readme(),
        keywords='url lightweight caching http-client requests',
        classifiers=['Development Status :: 4 - Beta',
                     'Intended Audience :: Developers',
                     'License :: OSI Approved :: MIT License',
                     'Natural Language :: English',
                     'Operating System :: OS Independent',
                     'Programming Language :: Python :: 2',
                     'Programming Language :: Python :: 2.7',
                     'Programming Language :: Python :: 3',
                     'Programming Language :: Python :: 3.4',
                     'Programming Language :: Python :: 3.5',
                     'Programming Language :: Python :: 3.6',
                     'Topic :: Internet :: WWW/HTTP',
                     'Topic :: Software Development :: Libraries :: Python Modules'],
        url='https://github.com/willforde/urlquick',
        platforms=['OS Independent'],
        extras_require={'For parsing html content using \'response.parse()\'': ["htmlement"]},
        author='William Forde',
        author_email='willforde@gmail.com',
        license='MIT License',
        py_modules=['urlquick'])
  
new_contents: from setuptools import setup
  from codecs import open as _open
  from os import path
  import re
  
  
  def readme():
      # Get the long description from the README file
      readme_file = path.join(path.abspath(path.dirname(__file__)), "README.rst")
      with _open(readme_file, "rb", encoding='utf-8') as opened_file:
          return opened_file.read()
  
  
  def version(name):
      with open(name, 'rb') as opened:
          search_refind = b'__version__ = ["\'](\d+\.\d+\.\d+)["\']'
          verdata = re.search(search_refind, opened.read())
          if verdata:
              data = verdata.group(1)
              return data.decode()
          else:
              raise RuntimeError("Unable to extract version number")
  
  
  setup(name='urlquick',
        version=version('urlquick.py'),
        description='A light-weight http client with requests like interface.'
                    'Featuring persistent connectionsand caching support.',
        long_description=readme(),
        keywords='url lightweight caching http-client requests',
        classifiers=['Development Status :: 4 - Beta',
                     'Intended Audience :: Developers',
                     'License :: OSI Approved :: MIT License',
                     'Natural Language :: English',
                     'Operating System :: OS Independent',
                     'Programming Language :: Python :: 2',
                     'Programming Language :: Python :: 2.7',
                     'Programming Language :: Python :: 3',
                     'Programming Language :: Python :: 3.4',
                     'Programming Language :: Python :: 3.5',
                     'Programming Language :: Python :: 3.6',
                     'Topic :: Internet :: WWW/HTTP',
                     'Topic :: Software Development :: Libraries :: Python Modules'],
        url='https://github.com/willforde/urlquick',
        platforms=['OS Independent'],
        extras_require={'For parsing html content using response.parse()': ["htmlement"]},
        author='William Forde',
        author_email='willforde@gmail.com',
        license='MIT License',
        py_modules=['urlquick'])
  
subject: fix travis issue