old_contents: import os
  import versioneer
  from setuptools import setup
  
  try:
      descr = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
  except IOError:
      descr = ''
  
  try:
      from pypandoc import convert
      descr = convert(descr, 'rst', format='md')
  except ImportError:
      pass
  
  setup(name='slicerator',
        version=versioneer.get_version(),
        author='Daniel B. Allan',
        author_email='daniel.b.allan@gmail.com',
        packages=['slicerator'],
        description='A lazy-loading, fancy-sliceable iterable.',
        url='http://github.com/soft-matter/slicerator',
        cmdclass=versioneer.get_cmdclass(),
        platforms='Cross platform (Linux, Mac OSX, Windows)',
        license="BSD",
        classifiers=['Development Status :: 4 - Beta',
                     'Programming Language :: Python :: 3',
                     'Programming Language :: Python :: 3.7',
                     'Programming Language :: Python :: 3.8',
                     'Programming Language :: Python :: 3.9',
                     'Programming Language :: Python :: 3.10',
                     ],
        long_description=descr,
        )
  
new_contents: import os
  import versioneer
  from setuptools import setup
  
  try:
      descr = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
  except IOError:
      descr = ""
  
  try:
      from pypandoc import convert
  
      descr = convert(descr, "rst", format="md")
  except ImportError:
      pass
  
  setup(
      name="slicerator",
      version=versioneer.get_version(),
      author="Daniel B. Allan",
      author_email="daniel.b.allan@gmail.com",
      packages=["slicerator"],
      description="A lazy-loading, fancy-sliceable iterable.",
      url="http://github.com/soft-matter/slicerator",
      cmdclass=versioneer.get_cmdclass(),
      platforms="Cross platform (Linux, Mac OSX, Windows)",
      license="BSD",
      classifiers=[
          "Development Status :: 4 - Beta",
          "Programming Language :: Python :: 3",
          "Programming Language :: Python :: 3.7",
          "Programming Language :: Python :: 3.8",
          "Programming Language :: Python :: 3.9",
          "Programming Language :: Python :: 3.10",
      ],
      long_description=descr,
      long_description_content_type="text/markdown",
  )
  
subject: update description content type