setup: warn when pypandoc not installed.

This commit is contained in:
Dylan Araps 2018-01-01 11:09:13 +11:00
parent 8ee65fdf41
commit 6cea6bd46f

View File

@ -11,6 +11,7 @@ try:
import pypandoc
LONG_DESC = pypandoc.convert("README.md", "rst")
except (IOError, ImportError, RuntimeError):
print("warning: pypandoc not found. Not converting markdown to rst.")
LONG_DESC = open('README.md').read()
VERSION = pywal.__version__