|
@@ -1,9 +1,18 @@
|
|
|
#!/usr/bin/env python
|
|
#!/usr/bin/env python
|
|
|
from distutils.core import setup
|
|
from distutils.core import setup
|
|
|
|
|
+
|
|
|
|
|
+try:
|
|
|
|
|
+ from pypandoc import convert
|
|
|
|
|
+ read_md = lambda f: convert(f, 'rst')
|
|
|
|
|
+except ImportError:
|
|
|
|
|
+ print 'warning: module pypandoc not found, cannot convert Markdown to RST'
|
|
|
|
|
+ read_md = lambda f: open(f, 'r').read()
|
|
|
|
|
+
|
|
|
setup(
|
|
setup(
|
|
|
name='wspy',
|
|
name='wspy',
|
|
|
- version='0.91',
|
|
|
|
|
|
|
+ version='0.9.1',
|
|
|
description='A standalone implementation of websockets (RFC 6455).',
|
|
description='A standalone implementation of websockets (RFC 6455).',
|
|
|
|
|
+ long_description=read_md('README.md'),
|
|
|
author='Taddeus Kroes',
|
|
author='Taddeus Kroes',
|
|
|
author_email='taddeus@kompiler.org',
|
|
author_email='taddeus@kompiler.org',
|
|
|
url='https://github.com/taddeus/wspy',
|
|
url='https://github.com/taddeus/wspy',
|