Commit bf559a71 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Setup script for Pypi now converts README to RST

parent 7fe869f4
#!/usr/bin/env python
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(
name='wspy',
version='0.91',
version='0.9.1',
description='A standalone implementation of websockets (RFC 6455).',
long_description=read_md('README.md'),
author='Taddeus Kroes',
author_email='taddeus@kompiler.org',
url='https://github.com/taddeus/wspy',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment