mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-12 04:37:08 +02:00
setup: Remove pandoc requirement
This commit is contained in:
parent
2e0ab26d75
commit
b9db8c1cc0
8
setup.py
8
setup.py
@ -7,13 +7,7 @@ except ImportError:
|
|||||||
print("error: pywal requires Python 3.5 or greater.")
|
print("error: pywal requires Python 3.5 or greater.")
|
||||||
quit(1)
|
quit(1)
|
||||||
|
|
||||||
try:
|
LONG_DESC = open('README.md').read()
|
||||||
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__
|
VERSION = pywal.__version__
|
||||||
DOWNLOAD = "https://github.com/dylanaraps/pywal/archive/%s.tar.gz" % VERSION
|
DOWNLOAD = "https://github.com/dylanaraps/pywal/archive/%s.tar.gz" % VERSION
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user