Skip to content

Commit c049a19

Browse files
author
Ryan P Kilby
committed
Fix pandoc import in setup.py
1 parent f84cb2b commit c049a19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
from setuptools import setup
1010

1111
try:
12-
from pypandoc import convert
12+
from pypandoc import convert_file
1313

1414
def read_md(f):
15-
return convert(f, 'rst')
15+
return convert_file(f, 'rst')
1616
except ImportError:
1717
print("warning: pypandoc module not found, could not convert Markdown to RST")
1818

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy