Get rid of pypandoc
This commit is contained in:
@@ -22,10 +22,6 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
requirements.append("enum34")
|
requirements.append("enum34")
|
||||||
|
|
||||||
try:
|
|
||||||
import pypandoc
|
|
||||||
readme = pypandoc.convert_file("README.md", "rst")
|
|
||||||
except ImportError:
|
|
||||||
with open("README.md", "rt", encoding="utf-8") as f:
|
with open("README.md", "rt", encoding="utf-8") as f:
|
||||||
readme = f.read()
|
readme = f.read()
|
||||||
|
|
||||||
@@ -38,6 +34,7 @@ setup(name="hddfancontrol",
|
|||||||
install_requires=requirements,
|
install_requires=requirements,
|
||||||
description="Control system fan speed by monitoring hard drive temperature",
|
description="Control system fan speed by monitoring hard drive temperature",
|
||||||
long_description=readme,
|
long_description=readme,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/desbma/hddfancontrol",
|
url="https://github.com/desbma/hddfancontrol",
|
||||||
download_url="https://github.com/desbma/hddfancontrol/archive/%s.tar.gz" % (version),
|
download_url="https://github.com/desbma/hddfancontrol/archive/%s.tar.gz" % (version),
|
||||||
keywords=["hdd", "drive", "temperature", "fan", "control", "speed"],
|
keywords=["hdd", "drive", "temperature", "fan", "control", "speed"],
|
||||||
|
|||||||
Reference in New Issue
Block a user