We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f01abae commit c492a46Copy full SHA for c492a46
setup.py
@@ -10,7 +10,15 @@
10
try:
11
long_description = pypandoc.convert('README.md', 'rst')
12
except OSError as e:
13
- print("Pypandoc import failed, please install pandoc.")
+ print("Pypandoc import failed, trying to download pancdoc...")
14
+ pypandoc.download_pandoc()
15
+
16
+print("Trying to convert again...")
17
18
+try:
19
+ long_description = pypandoc.convert('README.md', 'rst')
20
+except OSError as e:
21
+ print("Readme conversion failed.")
22
sys.exit(1)
23
24
# cv_version.py should be generated by running find_version.py
0 commit comments