diff --git a/setup.py b/setup.py index db675b9..9ca7be6 100644 --- a/setup.py +++ b/setup.py @@ -9,9 +9,9 @@ from birdy import __author__, __version__ try: - from pypandoc import convert + from pypandoc import convert_file def read_md(f): - return convert(f, 'rst') + return convert_file(f, 'rst') except ImportError: print("warning: pypandoc module not found, could not convert Markdown to RST") def read_md(f):