  
  from setuptools import setup, find_packages
  
  try:
      from pypandoc import convert
  
      def read_md(f):
          return convert(f, 'rst')
  except ImportError:
      print("warning: pypandoc module not found, could not convert Markdown to RST")
 
</s> remove        {py35,py36}-djangomaster
       lint,docs
 </s> add        {py35,py36}-djangomaster,
       lint,docs,readme, </s> remove         return convert(f, 'rst')
 </s> add         return convert_file(f, 'rst')
    from pypandoc import convert_file
  
  from setuptools import setup, find_packages
  
  try:
    from pypandoc import convert_file
  
      def read_md(f):
          return convert(f, 'rst')
  except ImportError:
      print("warning: pypandoc module not found, could not convert Markdown to RST")
keep keep keep keep replace keep keep keep keep keep
 Fix readme, add to CI (#5625)

* Add readme build to CI

* Fix pandoc import in setup.py

* Replace sponsor HTML with markdown

This loses the image centering, but can be converted to RST.

* Fix README RST conversion

- Links do not render correctly inside italics
- Add hr between image caption and section, fixes markup on older
  versions of pandoc. 
setup.py