-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
67 lines (62 loc) · 2.12 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
61
62
63
64
65
66
67
from setuptools import find_packages, setup
install_requires = [
"requests>=2.22.0,<3",
"aiodns>=2.0.0",
"aiohttp>=3.6.0,<4",
"aiofile>=3.1,<4",
"pyjwt>=2.0.0,<3",
"typing_extensions; python_version < '3.8'",
]
tests_require = ["pytest == 8.1.1", "pytest-asyncio <= 0.21.1"]
ci_require = [
"black",
"flake8",
"flake8-isort",
"flake8-bugbear",
"pytest-cov",
"mypy",
"types-requests",
]
with open("README.md", "r") as f:
long_description = f.read()
about = {}
with open("stream_chat/__pkg__.py") as fp:
exec(fp.read(), about)
setup(
name="stream-chat",
version=about["__version__"],
author=about["__maintainer__"],
author_email=about["__email__"],
url="https://github.com/GetStream/stream-chat-python",
project_urls={
"Bug Tracker": "https://github.com/GetStream/stream-chat-python/issues",
"Documentation": "https://getstream.io/activity-feeds/docs/python/?language=python",
"Release Notes": "https://github.com/GetStream/stream-chat-python/releases/tag/v{}".format(
about["__version__"]
),
},
description="Client for Stream Chat.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(exclude=["*tests*"]),
zip_safe=False,
install_requires=install_requires,
extras_require={"test": tests_require, "ci": ci_require},
include_package_data=True,
python_requires=">=3.8",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)