We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca1fd7c commit ad1e786Copy full SHA for ad1e786
setup.py
@@ -1,12 +1,19 @@
1
from setuptools import setup, find_packages
2
3
-VERSION = '0.0.1'
+VERSION = '0.0.2'
4
+
5
+try:
6
+ from pypandoc import convert
7
+ read_md = lambda f: convert(f, 'rst')
8
+except ImportError:
9
+ print("Warning: pypandoc module not found, could not convert Markdown to RST")
10
+ read_md = lambda f: open(f, 'r').read()
11
12
setup(
13
name='django-webhooks',
14
version=VERSION,
15
description='Reusable Django app that provides webhooks',
- long_description=open('README.md').read(),
16
+ long_description=read_md('README.md'),
17
author='Andrew Cutler',
18
author_email='andrew@voltgrid.com',
19
url='https://github.com/voltgrid/django-webhooks',
0 commit comments