-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
100 lines (89 loc) · 3.09 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
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
92
93
94
95
96
97
98
99
100
[build-system]
# keep me in sync with build.in!
requires = ["setuptools >= 45", "wheel", "setuptools_scm[toml] >= 7.0.5"]
build-backend = "setuptools.build_meta"
[project]
name = "trio-parallel"
description = "CPU parallelism for Trio"
readme = { file = "README.rst", content-type = "text/x-rst" }
authors = [{ name = "Richard Sheridan", email = "[email protected]" }]
license = { text = "MIT OR Apache-2.0" }
keywords = ["parallel", "trio", "async", "dispatch", "multiprocessing"]
classifiers = [
"License :: OSI Approved :: MIT License",
"License :: OSI Approved :: Apache Software License",
"Framework :: Trio",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"trio >= 0.18.0",
"outcome",
"attrs >= 17.3.0",
"cffi; os_name == 'nt' and implementation_name != 'pypy'",
"tblib",
]
requires-python = ">=3.7"
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/richardsheridan/trio-parallel"
Documentation = "https://trio-parallel.readthedocs.io/"
Changelog = "https://trio-parallel.readthedocs.io/en/latest/history.html"
[project.optional-dependencies]
test = [
"pytest",
"pytest-trio",
"trio >= 0.23.0",
]
[tool.setuptools]
include-package-data = true
packages = ["trio_parallel", "_trio_parallel_workers"]
[tool.setuptools_scm]
[tool.towncrier]
package = "trio_parallel"
filename = "docs/source/history.rst"
directory = "newsfragments"
name = "trio-parallel"
underlines = ["-", "~", "^"]
issue_format = "`#{issue} <https://github.com/richardsheridan/trio-parallel/issues/{issue}>`__"
[tool.pytest.ini_options]
addopts = "--pyargs -r a -n auto --verbose --cov --cov-config=pyproject.toml --cov-context=test"
filterwarnings = ["error"]
xfail_strict = true
faulthandler_timeout = 60
[tool.coverage.run]
branch = true
concurrency = ["multiprocessing", "thread"]
parallel = true
source_pkgs = ["trio_parallel", "_trio_parallel_workers"]
disable_warnings = [
"module-not-imported", # for test_clean_exit_on_shutdown
"module-not-measured", # for fork shutdown tests
"no-data-collected", # for fork shutdown tests
]
[tool.coverage.report]
precision = 1
exclude_lines = [
"pragma: no cover",
"abc.abstractmethod",
"abstractmethod",
]
[tool.coverage.html]
show_contexts = true
[tool.coverage.paths]
source = ["trio_parallel/", "*/trio_parallel"]
workers = ["_trio_parallel_workers/", "*/_trio_parallel_workers"]