-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
38 lines (32 loc) · 1.1 KB
/
pyproject.toml
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
[build-system]
requires = ["maturin>=1,<2"]
build-backend = "maturin"
[project]
name = "mitmproxy_rs"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 5 - Production/Stable",
]
dependencies = [
"mitmproxy_windows; os_name == 'nt'",
"mitmproxy_macos; sys_platform == 'darwin'",
]
[tool.black]
line-length = 140
include = '\.pyi?$'
[project.entry-points.pyinstaller40]
hook-dirs = "mitmproxy_rs._pyinstaller:hook_dirs"
[tool.mypy]
exclude = [
'mitmproxy_rs/_pyinstaller'
]
# https://pyo3.rs/v0.22.2/faq.html?highlight=cargo%20test#i-cant-run-cargo-test-or-i-cant-build-in-a-cargo-workspace-im-having-linker-issues-like-symbol-not-found-or-undefined-reference-to-_pyexc_systemerror
[tool.maturin]
features = ["pyo3/extension-module"]