old_contents: from setuptools import setup
  try:
      from pypandoc import convert
      read_md = lambda f: convert(f, 'rst')
  except ImportError:
      print("warning: pypandoc module not found, could not convert Markdown to RST")
      read_md = lambda f: open(f, 'r').read()
  
  setup(
      name="elyzer",
      entry_points={
          'console_scripts': [
              'elyzer=elyzer.__main__:main'
          ]
      },
      packages=['elyzer'],
      version="0.2.1",
      description="Step-by-Step Debug Elasticsearch Analyzers",
      long_description=read_md('README.md'),
      license="Apache",
      author="Doug Turnbull",
      author_email="dturnbull@o19s.com",
      url='https://github.com/o19s/elyzer',
      py_modules=['subredis'],
      install_requires=['elasticsearch>=1.6.0,<5.1'],
      keywords=["elasticsearch", "database"],
      classifiers=[
            'Development Status :: 3 - Alpha',
            'Environment :: Console',
            'Intended Audience :: Developers',
            'Intended Audience :: System Administrators',
            'License :: OSI Approved :: Apache Software License',
            'Natural Language :: English',
            'Programming Language :: Python :: 2',
            'Programming Language :: Python :: 2.6',
            'Programming Language :: Python :: 2.7',
            'Topic :: Utilities'
      ]
  )
  
new_contents: from setuptools import setup
  try:
      from pypandoc import convert
      read_md = lambda f: convert(f, 'rst')
  except ImportError:
      print("warning: pypandoc module not found, could not convert Markdown to RST")
      read_md = lambda f: open(f, 'r').read()
  
  setup(
      name="elyzer",
      entry_points={
          'console_scripts': [
              'elyzer=elyzer.__main__:main'
          ]
      },
      packages=['elyzer'],
      version="0.2.2",
      description="Step-by-Step Debug Elasticsearch Analyzers",
      long_description=read_md('README.md'),
      license="Apache",
      author="Doug Turnbull",
      author_email="dturnbull@o19s.com",
      url='https://github.com/o19s/elyzer',
      install_requires=['elasticsearch>=1.6.0,<2.3'],
      keywords=["elasticsearch", "database"],
      classifiers=[
            'Development Status :: 3 - Alpha',
            'Environment :: Console',
            'Intended Audience :: Developers',
            'Intended Audience :: System Administrators',
            'License :: OSI Approved :: Apache Software License',
            'Natural Language :: English',
            'Programming Language :: Python :: 2',
            'Programming Language :: Python :: 2.6',
            'Programming Language :: Python :: 2.7',
            'Topic :: Utilities'
      ]
  )
  
subject: Revert dependencies for ES client