11[build-system ]
2- requires = [" setuptools" , " wheel" ]
3- build-backend = " setuptools.build_meta"
2+ requires = [" setuptools>=80" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [tool .setuptools .dynamic ]
6+ version = { attr = " rsocket.__version__" }
7+
8+ [project ]
9+ name = " rsocket"
10+ dynamic = [" version" ]
11+ authors = [{
name =
" Gabriel Shaar" ,
email =
" [email protected] " }]
12+ license = " MIT"
13+ license-files = [" LICENSE" ]
14+ description = " Python RSocket library"
15+ readme = " README.md"
16+ requires-python = " >=3.8"
17+ classifiers = [
18+ " Development Status :: 4 - Beta" ,
19+ " Programming Language :: Python" ,
20+ " Programming Language :: Python :: 3.8" ,
21+ " Programming Language :: Python :: 3.9" ,
22+ " Programming Language :: Python :: 3.10" ,
23+ " Programming Language :: Python :: 3.11" ,
24+ " Programming Language :: Python :: 3.12" ,
25+ " Programming Language :: Python :: 3.13" ,
26+ " Environment :: Web Environment" ,
27+ " Natural Language :: English" ,
28+ " Topic :: Internet :: WWW/HTTP :: Dynamic Content" ,
29+ " Topic :: Internet :: WWW/HTTP" ,
30+ " Topic :: Internet:" ,
31+ " Topic :: Software Development :: Libraries :: Application Frameworks" ,
32+ " Topic :: Software Development :: Libraries :: Python Modules" ,
33+ ]
34+
35+ [tool .setuptools .packages .find ]
36+ where = [" ." ]
37+ include = [" rsocket*" , " reactivestreams*" ]
38+
39+ [project .urls ]
40+ Repository = " https://github.com/rsocket/rsocket-py"
41+ Documentation = " https://rsocket.io/guides/rsocket-py"
42+ Changelog = " https://github.com/rsocket/rsocket-py/blob/master/CHANGELOG.rst"
43+
44+ [project .optional-dependencies ]
45+ rx = [" Rx>=3.0.0" ]
46+ reactivex = [" reactivex>=4.0.0" ]
47+ aiohttp = [" aiohttp>=3.0.0" ]
48+ quart = [" quart>=0.15.0" ]
49+ quic = [" aioquic>=0.9.0" ]
50+ cli = [" asyncclick>=8.0.0" ]
51+ optimized = [" cbitstruct>=1.1.0" ]
52+ fastapi = [" fastapi>=0.115.0" ]
53+ cloudevents = [
54+ " cloudevents>=1.9.0" ,
55+ " pydantic>=1.10.0" ,
56+ ]
57+ graphql = [
58+ " graphql-core>=3.2.0" ,
59+ " gql>=3.4.0" ,
60+ ]
61+ websockets = [" websockets>=11.0.0" ]
62+ channels = [
63+ " channels>=4.0.0" ,
64+ " daphne>=4.1.2" ,
65+ ]
66+ asyncwebsockets = [" asyncwebsockets>=0.9.4" ]
67+
68+ [project .scripts ]
69+ rsocket-py = " rsocket.cli.command:command"
70+
71+ [tool .pytest .ini_options ]
72+ addopts = " --verbose"
73+ asyncio_mode = " auto"
74+ timeout = 10
75+ asyncio_default_fixture_loop_scope = " function"
76+ filterwarnings = [
77+ " error" ,
78+ " ignore::DeprecationWarning" ,
79+ # TODO: Remove ignoring ResourceWarning after finding out why connection is not always closed after each test (rare event)
80+ " ignore::ResourceWarning" ,
81+ ]
0 commit comments