remove pandoc support (PyPI now supports Markdown) (#230)

This commit is contained in:
Tom Kralidis
2019-09-08 09:04:24 -04:00
committed by GitHub
parent ab12cbfc92
commit 20050a14d2
3 changed files with 7 additions and 15 deletions
+2 -6
View File
@@ -127,12 +127,7 @@ def get_package_version():
raise RuntimeError("Unable to find version string.")
try:
import pypandoc
LONG_DESCRIPTION = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError, OSError):
print('Conversion to rST failed. Using default (will look weird on PyPI)')
LONG_DESCRIPTION = read('README.md')
LONG_DESCRIPTION = read('README.md')
DESCRIPTION = 'pygeoapi provides an API to geospatial data'
@@ -144,6 +139,7 @@ setup(
version=get_package_version(),
description=DESCRIPTION.strip(),
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
license='MIT',
platforms='all',
keywords=' '.join([