liris de41919272 - fixed #73
- support Python 2 and 3 in the single source code.
2014-04-25 08:27:50 +09:00

39 lines
1.2 KiB
Python

from setuptools import setup
import sys
VERSION = "0.14.0"
install_requires = ["six"]
if sys.version_info.major == 2:
install_requires.append('backports.ssl_match_hostname')
setup(
name="websocket-client",
version=VERSION,
description="WebSocket client for python. hybi13 is supported.",
long_description=open("README.rst").read(),
author="liris",
author_email="liris.pp@gmail.com",
license="LGPL",
url="https://github.com/liris/websocket-client",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
],
keywords='websockets',
scripts=["bin/wsdump.py"],
install_requires=install_requires,
packages=["tests", "websocket"],
package_data={
'tests': ['data/*.txt'],
'websocket': ["cacert.pem"]
},
)