Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (80 loc) · 2.34 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (80 loc) · 2.34 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[project]
name = 'weft-server'
authors = [{ name = 'grepjava', email = 'grepjava@gmail.com' }]
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Free Threading :: 2 - Beta',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Rust',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
]
dynamic = ['description', 'keywords', 'license', 'readme', 'version']
requires-python = '>=3.10'
dependencies = []
[project.urls]
Homepage = 'https://github.com/grepjava/weft'
Repository = 'https://github.com/grepjava/weft'
Issues = 'https://github.com/grepjava/weft/issues'
Changelog = 'https://github.com/grepjava/weft/blob/master/RELEASE.md'
[dependency-groups]
build = ['maturin~=1.15']
lint = ['ruff~=0.15.0']
test = [
'aioquic~=1.2',
'fastapi~=0.141',
'h2~=4.2',
'httpx[http2]~=0.28',
'pytest~=9.0',
'pytest-timeout~=2.4',
'websockets~=17.1',
]
bench = [
'fastapi~=0.141',
'httptools~=0.7',
'psutil~=7.0',
'uvicorn~=0.52',
]
all = [
{ include-group = 'bench' },
{ include-group = 'build' },
{ include-group = 'lint' },
{ include-group = 'test' },
]
[project.scripts]
weft = 'weft.cli:entrypoint'
[build-system]
requires = ['maturin>=1.15,<2']
build-backend = 'maturin'
[tool.maturin]
module-name = 'weft._weft'
bindings = 'pyo3'
[tool.maturin.generate-ci.github]
trusted-publishing = true
publishing-environment = 'release'
[tool.ruff]
line-length = 120
extend-select = ['B', 'C4', 'I', 'Q', 'W', 'UP']
extend-ignore = ['B904', 'E501']
flake8-quotes = { inline-quotes = 'single', multiline-quotes = 'double' }
[tool.ruff.format]
quote-style = 'single'
[tool.ruff.lint.isort]
combine-as-imports = true
lines-after-imports = 2
known-first-party = ['weft', 'tests']
[tool.pytest.ini_options]
timeout = 60
[tool.uv]
package = false