forked from python-trio/trio-websocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (47 loc) · 1.68 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
from setuptools import setup, find_packages
from pathlib import Path
here = Path(__file__).parent
# Get version
version = {}
with (here / "trio_websocket" / "version.py").open() as f:
exec(f.read(), version)
# Get description
with (here / 'README.md').open(encoding='utf-8') as f:
long_description = f.read()
setup(
name='trio-websocket',
version=version['__version__'],
description='WebSocket library for Trio',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/HyperionGray/trio-websocket',
author='Mark E. Haase',
author_email='[email protected]',
classifiers=[
# See https://pypi.org/classifiers/
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
python_requires=">=3.5",
keywords='websocket client server trio',
packages=find_packages(exclude=['docs', 'examples', 'tests']),
install_requires=[
# After modifying dependencies, always rebuild the requirements-dev.txt
# file! See developer docs for more details.
'async_generator>=1.10,<2',
'ipaddress>=1.0.22,<2',
'trio>=0.9,<0.10',
'wsaccel>=0.6.2,<0.7',
'wsproto>=0.12,<0.13',
'yarl>=1.2.6,<2'
],
project_urls={
'Bug Reports': 'https://github.com/HyperionGray/trio-websocket/issues',
'Source': 'https://github.com/HyperionGray/trio-websocket',
},
)