remove warning during compilation

This commit is contained in:
Andrey Cizov
2019-07-13 16:44:42 +01:00
committed by Jacob Alexander
parent de22f7eb97
commit 423e4f1f8c
3 changed files with 5 additions and 2 deletions

View File

@@ -44,8 +44,8 @@ write_version_py()
# Try to convert README using pandoc
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
changelog = pypandoc.convert('CHANGELOG.md', 'rst')
long_description = pypandoc.convert_file('README.md', 'rst')
changelog = pypandoc.convert_file('CHANGELOG.md', 'rst')
changelog = '\nChangelog\n=============\n' + changelog
long_description += changelog
except (IOError, ImportError):