setup.py 644 B

12345678910111213141516171819202122
  1. #!/usr/bin/env python
  2. from distutils.core import setup
  3. try:
  4. from pypandoc import convert
  5. read_md = lambda f: convert(f, 'rst')
  6. except ImportError:
  7. print 'warning: module pypandoc not found, cannot convert Markdown to RST'
  8. read_md = lambda f: open(f, 'r').read()
  9. setup(
  10. name='wspy',
  11. version='0.9.1',
  12. description='A standalone implementation of websockets (RFC 6455).',
  13. long_description=read_md('README.md'),
  14. author='Taddeus Kroes',
  15. author_email='taddeus@kompiler.org',
  16. url='https://github.com/taddeus/wspy',
  17. package_dir={'wspy': '.'},
  18. packages=['wspy'],
  19. license='3-clause BSD License'
  20. )