text: """`tldextract` accurately separates the gTLD or ccTLD (generic or country code
  top-level domain) from the registered domain and subdomains of a URL.
  
      >>> import tldextract
      >>> tldextract.extract('http://forums.news.cnn.com/')
      ExtractResult(subdomain='forums.news', domain='cnn', suffix='com')
      >>> tldextract.extract('http://forums.bbc.co.uk/') # United Kingdom
      ExtractResult(subdomain='forums', domain='bbc', suffix='co.uk')
      >>> tldextract.extract('http://www.worldbank.org.kg/') # Kyrgyzstan
      ExtractResult(subdomain='www', domain='worldbank', suffix='org.kg')
  
  `ExtractResult` is a namedtuple, so it's simple to access the parts you want.
  
      >>> ext = tldextract.extract('http://forums.bbc.co.uk')
      >>> (ext.subdomain, ext.domain, ext.suffix)
      ('forums', 'bbc', 'co.uk')
      >>> # rejoin subdomain and domain
      >>> '.'.join(ext[:2])
      'forums.bbc'
      >>> # a common alias
      >>> ext.registered_domain
      'bbc.co.uk'
  
  By default, this package supports the public ICANN TLDs and their exceptions.
  You can optionally support the Public Suffix List's private domains as well.
  """
  
  import sys
  from setuptools import setup
  
  if sys.version_info < (2, 7):
      raise RuntimeError("Python 2.6 is EOL and no longer supported. "
                         "Please upgrade your Python or use an older "
                         "version of tldextract.")
  
  INSTALL_REQUIRES = ["setuptools", "requests>=2.1.0", "requests-file>=1.4"]
  
  setup(
      name="tldextract",
      version="2.2.1",
      author="John Kurkowski",
      author_email="john.kurkowski@gmail.com",
      description=("Accurately separate the TLD from the registered domain and "
                   "subdomains of a URL, using the Public Suffix List. By "
                   "default, this includes the public ICANN TLDs and their "
                   "exceptions. You can optionally support the Public Suffix "
                   "List's private domains as well."),
      license="BSD License",
      keywords="tld domain subdomain url parse extract urlparse urlsplit public suffix list",
      url="https://github.com/john-kurkowski/tldextract",
      packages=['tldextract'],
      include_package_data=True,
      python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
      long_description=__doc__,
      long_description_content_type="text/markdown",
      classifiers=[
          "Development Status :: 5 - Production/Stable",
          "Topic :: Utilities",
          "License :: OSI Approved :: BSD License",
          "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",
      ],
      entry_points={
          'console_scripts': [
              'tldextract = tldextract.cli:main', ]
      },
      install_requires=INSTALL_REQUIRES,
  )
  