forked from miguelgrinberg/python-socketio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·60 lines (56 loc) · 1.6 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
"""
python-socketio
---------------
Socket.IO server.
"""
import re
import sys
from setuptools import setup
with open('socketio/__init__.py', 'r') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
f.read(), re.MULTILINE).group(1)
with open('README.rst', 'r') as f:
long_description = f.read()
setup(
name='python-socketio',
version=version,
url='http://github.com/miguelgrinberg/python-socketio/',
license='MIT',
author='Miguel Grinberg',
author_email='[email protected]',
description='Socket.IO server',
long_description=long_description,
packages=['socketio'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'six>=1.9.0',
'python-engineio>=3.9.0'
],
extras_require={
'client': [
'requests>=2.21.0',
'websocket-client>=0.54.0',
],
'asyncio_client': [
'aiohttp>=3.4',
'websockets>=7.0',
]
},
tests_require=[
'mock',
],
test_suite='tests' if sys.version_info >= (3, 0) else 'tests.common',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)