diff --git a/.gitignore b/.gitignore index 7d6ab93..4fb57d3 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,4 @@ coverage.xml # Sphinx documentation docs/_build/ +README.rst diff --git a/setup.cfg b/setup.cfg index 12871ff..595999b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -description-file=README.md +description-file=README.rst diff --git a/setup.py b/setup.py index 913d059..7f6cf08 100755 --- a/setup.py +++ b/setup.py @@ -14,7 +14,8 @@ def readme(): try: - with open('README.md') as f: + os.system('pandoc --from=markdown --to=rst README.md -o README.rst') + with open('README.rst') as f: return f.read() except: return 'Automantic compress files after upload'