We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8474a0 commit 7d73454Copy full SHA for 7d73454
2 files changed
README.rst
setup.py
@@ -1,5 +1,10 @@
1
from setuptools import setup, find_packages
2
3
+try:
4
+ import pypandoc
5
+ long_description = pypandoc.convert('README.md', 'rst')
6
+except(IOError, ImportError):
7
+ long_description = open('README.md').read()
8
9
setup(
10
name='graphql-subscriptions',
@@ -12,7 +17,7 @@
12
17
keywords='graphql websockets concurrent subscriptions',
13
18
url='https://github.com/hballard/graphql-python-subscriptions',
14
19
packages=find_packages(exclude=['tests']),
15
- long_description=open('README.rst').read(),
20
+ long_description=long_description,
16
21
classifiers=[
22
'Development Status :: 3 - Alpha',
23
'Intended Audience :: Developers',
0 commit comments