Add RestructuredText version of the README and remove

pandoc dependency.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2017-06-07 20:23:30 -04:00
parent eeb0b2bef3
commit 64c6c27957
2 changed files with 65 additions and 6 deletions

View File

@@ -90,12 +90,8 @@ pytz==2016.7
sh==1.12.11
""".split()
try:
import pypandoc
readme = pypandoc.convert_file('README.md', 'rst')
except (IOError, ImportError):
with open('README.md') as f:
readme = f.read()
with open('README.rst') as f:
readme = f.read()
with open('HISTORY.rst') as f:
history = f.read()