old_contents: from setuptools import setup
  
  try:
      import pypandoc
      long_description = pypandoc.convert('README.md', 'rst')
  except(IOError, ImportError):
      long_description = open('README.md').read()
  
  setup(
      name='rpq',
      version='2.2',
      description='Simple Redis work queue with added features (priorities, pop multiple items at once)',
      long_description=long_description,
      author='Gabriel Bordeaux',
      author_email='pypi@gab.lc',
      url='https://github.com/gabfl/redis-priority-queue',
      license='MIT',
      packages=['rpq', 'rpq_src'],
      package_dir={'rpq': 'clients/python/lib', 'rpq_src': 'src'},
      package_data={
          'rpq_src': ['*.lua'],
      },
      install_requires=['redis', 'argparse',
                        'prettytable'],  # external dependencies
      entry_points={
          'console_scripts': [
              'rpq_monitor = rpq_src.queue_monitor:main',
          ],
      },
      classifiers=[  # see https://pypi.python.org/pypi?%3Aaction=list_classifiers
          'Topic :: Software Development',
          'Topic :: Database',
          'Topic :: Database :: Database Engines/Servers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: MacOS',
          'Operating System :: POSIX :: Linux',
          'Natural Language :: English',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python',
          #  'Development Status :: 4 - Beta',
          'Development Status :: 5 - Production/Stable',
      ],
  )
  
new_contents: from setuptools import setup
  
  try:
      import pypandoc
      long_description = pypandoc.convert_file('README.md', 'rst')
  except(IOError, ImportError):
      long_description = open('README.md').read()
  
  setup(
      name='rpq',
      version='2.2',
      description='Simple Redis work queue with added features (priorities, pop multiple items at once)',
      long_description=long_description,
      author='Gabriel Bordeaux',
      author_email='pypi@gab.lc',
      url='https://github.com/gabfl/redis-priority-queue',
      license='MIT',
      packages=['rpq', 'rpq_src'],
      package_dir={'rpq': 'clients/python/lib', 'rpq_src': 'src'},
      package_data={
          'rpq_src': ['*.lua'],
      },
      install_requires=['redis', 'argparse',
                        'prettytable'],  # external dependencies
      entry_points={
          'console_scripts': [
              'rpq_monitor = rpq_src.queue_monitor:main',
          ],
      },
      classifiers=[  # see https://pypi.python.org/pypi?%3Aaction=list_classifiers
          'Topic :: Software Development',
          'Topic :: Database',
          'Topic :: Database :: Database Engines/Servers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: MacOS',
          'Operating System :: POSIX :: Linux',
          'Natural Language :: English',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python',
          #  'Development Status :: 4 - Beta',
          'Development Status :: 5 - Production/Stable',
      ],
  )
  
subject: Resolve pypandoc convert() deprectation (#16)