Skip to content
Snippets Groups Projects
Commit ffd8b2c5 authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

add pandoc conversion to setup.py

parent 4047f87f
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,13 @@ except: ...@@ -33,6 +33,13 @@ except:
logging.warning("Failed to load %s" % readme_filename) logging.warning("Failed to load %s" % readme_filename)
readme = "" readme = ""
try:
import pypandoc
readme = pypandoc.convert(readme, to='rst', format='md')
except:
logging.warn("Conversion of long_description from MD to RST failed")
pass
with open('mhcflurry/__init__.py', 'r') as f: with open('mhcflurry/__init__.py', 'r') as f:
version = re.search( version = re.search(
r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment