-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (56 loc) · 1.52 KB
/
Copy pathpyproject.toml
File metadata and controls
63 lines (56 loc) · 1.52 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[build-system]
requires = ["scikit-build-core>=0.9", "nanobind>=2.0"]
build-backend = "scikit_build_core.build"
[project]
name = "clustering"
version = "0.10.1"
requires-python = ">=3.10"
dependencies = [
"numpy",
"scipy>=1.12",
"scikit-learn",
"matplotlib",
"memray>=1.14",
"threadpoolctl>=3.0",
"kneed>=0.8",
]
[project.scripts]
benchmark = "pybench.cli:main"
[dependency-groups]
dev = [
"pre-commit>=4.0",
"ruff>=0.15",
"commitizen>=4.0",
"pytest>=8",
]
# Optional `--baseline intelex` dependency. Not in `dev` because oneDAL has a
# heavy install footprint and a narrower platform matrix (linux/x86_64 only,
# minimum AVX2). Install on demand: `uv sync --group intelex`.
intelex = [
"scikit-learn-intelex>=2024.0",
]
[tool.pytest.ini_options]
testpaths = ["tests/python"]
# importlib avoids a package-name collision between the source `pybench`
# package and the `tests/python/pybench/` test subpackage.
addopts = "--import-mode=importlib"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.10.1"
tag_format = "v$version"
version_scheme = "semver"
update_changelog_on_bump = false
bump_message = "bump: $current_version -> $new_version"
version_files = [
"pyproject.toml:^version",
"README.md:GIT_TAG v",
"README.md:clustering.git@v",
"docs/mainpage.md:GIT_TAG v",
"docs/mainpage.md:clustering.git@v",
]
[tool.scikit-build]
cmake.source-dir = "python"
cmake.build-type = "Release"
wheel.packages = ["pybench"]
[tool.scikit-build.cmake.define]
CMAKE_CXX_STANDARD = "20"