-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (43 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
46 lines (43 loc) · 1.39 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
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "numpack"
version = "0.6.0"
description = "A high-performance array storage and manipulation library"
authors = [{ name = "NumPack Contributors" }]
requires-python = ">=3.9"
readme = "README.md"
license = { file = "LICENSE" }
keywords = ["numpy", "array", "storage", "performance"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"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 :: Rust",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Mathematics",
]
dependencies = [
"numpy>=1.26.0"
]
[tool.maturin]
features = ["pyo3/extension-module"]
module-name = "numpack._lib_numpack"
python-source = "python"
[tool.pytest.ini_options]
# 默认忽略性能基准测试,使用标记过滤
addopts = "-m 'not benchmark'"
# 测试目录
testpaths = ["python/numpack/tests"]
# 定义标记
markers = [
"benchmark: marks tests as benchmark (deselect with '-m \"not benchmark\"')",
"slow: marks tests as slow running",
]