-
Notifications
You must be signed in to change notification settings - Fork 57
/
pyproject.toml
92 lines (77 loc) · 2.37 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
[project]
name = "immutables"
description = "Immutable Collections"
authors = [{name = "MagicStack Inc", email = "hello@magic.io"}]
requires-python = '>=3.8.0'
readme = "README.rst"
license = {text = "Apache License, Version 2.0"}
dynamic = ["version"]
keywords = [
"collections",
"immutable",
"hamt",
]
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Topic :: Software Development :: Libraries",
]
dependencies = []
[project.urls]
github = "https://github.com/MagicStack/immutables"
[project.optional-dependencies]
# Minimal dependencies required to test immutables.
# pycodestyle is a dependency of flake8, but it must be frozen because
# their combination breaks too often
# (example breakage: https://gitlab.com/pycqa/flake8/issues/427)
test = [
'flake8~=5.0',
'pycodestyle~=2.9',
'mypy~=1.4',
'pytest~=7.4',
]
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
zip-safe = false
[tool.setuptools.packages.find]
include = ["immutables", "immutables.*"]
[tool.setuptools.package-data]
immutables = ["py.typed", "*.pyi"]
[tool.setuptools.exclude-package-data]
"*" = ["*.c", "*.h"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--capture=no --assert=plain --strict-markers --tb=native --import-mode=importlib"
testpaths = "tests"
filterwarnings = "default"
[tool.mypy]
files = "immutables"
incremental = true
strict = true
[[tool.mypy.overrides]]
module = "immutables.map"
ignore_errors = true
[[tool.mypy.overrides]]
module = "immutables._testutils"
ignore_errors = true
[tool.cibuildwheel]
build-frontend = "build"
test-extras = "test"
[tool.cibuildwheel.macos]
test-command = "python {project}/tests/__init__.py"
[tool.cibuildwheel.windows]
test-command = "python {project}\\tests\\__init__.py"
[tool.cibuildwheel.linux]
test-command = "python {project}/tests/__init__.py"