setup: Remove pandoc requirement

This commit is contained in:
Dylan Araps 2018-03-18 16:09:34 +11:00
parent 2e0ab26d75
commit b9db8c1cc0

View File

@ -7,13 +7,7 @@ except ImportError:
print("error: pywal requires Python 3.5 or greater.")
quit(1)
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()
LONG_DESC = open('README.md').read()
VERSION = pywal.__version__
DOWNLOAD = "https://github.com/dylanaraps/pywal/archive/%s.tar.gz" % VERSION