Convert PyPi description to RST format

This commit is contained in:
desbma
2014-12-21 17:37:57 +01:00
parent a44e20a003
commit d907d122a6
+6 -2
View File
@@ -13,8 +13,12 @@ with open(os.path.join("hddfancontrol", "__init__.py"), "rt") as f:
with open("requirements.txt", "rt") as f:
requirements = f.read().splitlines()
with open("README.md", "rt") as f:
readme = f.read()
try:
import pypandoc
readme = pypandoc.convert("README.md", "rst")
except ImportError:
with open("README.md", "rt") as f:
readme = f.read()
setup(name="hddfancontrol",
version=version,