forked from airspeed-velocity/asv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
145 lines (131 loc) · 3.26 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
[project]
name = "asv"
description = "Airspeed Velocity: A simple Python history benchmarking tool"
readme = { file = "README.rst", content-type = "text/x-rst" }
license = { text = "BSD-3-Clause" }
requires-python = ">=3.7"
authors = [
{ name = "Michael Droettboom", email = "mdroe@stsci.edu" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Web Environment",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"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",
"Topic :: Software Development :: Testing",
]
dynamic = [
"version",
]
dependencies = [
"asv-runner>=v0.2.1",
"json5",
"build",
"tabulate",
"virtualenv",
"tomli; python_version < '3.11'",
"colorama; platform_system == 'Windows'",
"pyyaml; platform_python_implementation != \"PyPy\"",
"pympler; platform_python_implementation != \"PyPy\"",
]
[project.urls]
"Source Code" = "https://github.com/airspeed-velocity/asv"
Documentation = "https://asv.readthedocs.io/en/stable/"
[project.scripts]
asv = "asv.__main__:main"
[project.optional-dependencies]
test = [
"pytest",
"pytest-xdist",
"pytest-timeout",
"pytest-rerunfailures>=10.0",
"filelock",
"virtualenv",
"numpy",
"scipy; platform_python_implementation != \"PyPy\"",
"feedparser",
"selenium",
"flaky",
"pytest-rerunfailures",
"python-hglib; platform_system != 'Windows'",
"rpy2; platform_system != 'Windows' and platform_python_implementation != 'PyPy'",
]
doc = [
"sphinx",
"sphinx_bootstrap_theme",
]
dev = [
"ruff",
"isort >= 5.11.5",
]
virtualenv = [
"virtualenv",
"packaging",
]
hg = [
"python-hglib",
]
plugs = [
"asv-bench-memray",
]
[build-system]
requires = [
"wheel",
"setuptools>=64",
"setuptools_scm>=6",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
platforms = [
"any",
]
zip-safe = false
include-package-data = true
license-files = [
"LICENSE.rst",
]
[tool.setuptools.exclude-package-data]
"*" = ["*.sh"]
[tool.pytest.ini_options]
addopts = "-p no:logging"
[tool.ruff]
line-length = 99
extend-ignore = [
"E741", # Do not use variables named 'I', 'O', or 'l'
]
extend-exclude = [
"test/example_results/cheetah",
]
[tool.isort]
line_length = 99
only_sections = true
[tool.setuptools_scm]
write_to = "asv/_version.py"
[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux2014"
manylinux-aarch64-image = "manylinux2014"
musllinux-x86_64-image = "musllinux_1_1"
[tool.cibuildwheel.macos]
archs = "x86_64 arm64"
[tool.cibuildwheel.windows]
archs = ['AMD64']
[tool.setuptools.packages.find]
where = ["."]
exclude = ["wheelhouse", "test", "benchmarks", "docs"]
namespaces = true
include = ["asv", "asv.*"]
[tool.codespell]
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
skip = '.git,*.css'
check-hidden = true
ignore-regex = '- Boris Feld\b'
# ignore-words-list = ''