Skip to content

Commit fb68ffe

Browse files
committed
Update long_description_content_type
1 parent b9f2f98 commit fb68ffe

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

setup.py

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,19 @@
44

55
from setuptools import setup, find_packages
66

7-
try:
8-
import pypandoc
97

10-
LONG_DESCRIPTION = pypandoc.convert("README.md", "rst")
11-
except (IOError, ImportError):
12-
if isfile("README.md"):
13-
LONG_DESCRIPTION = open("README.md").read()
14-
else:
15-
LONG_DESCRIPTION = ""
8+
if isfile("README.md"):
9+
LONG_DESCRIPTION = open("README.md").read()
10+
else:
11+
LONG_DESCRIPTION = ""
1612

1713

1814
setup(
1915
name="django-pgviews-redux",
2016
version="0.6.0",
2117
description="Create and manage Postgres SQL Views in Django",
2218
long_description=LONG_DESCRIPTION,
19+
long_description_content_type="text/markdown",
2320
author="Mikuláš Poul",
2421
author_email="[email protected]",
2522
license="Public Domain",

0 commit comments

Comments
 (0)