36 lines
826 B
TOML
36 lines
826 B
TOML
[build-system]
|
|
requires = ["maturin>=1.9.4,<2.0"]
|
|
build-backend = "maturin"
|
|
|
|
[project]
|
|
name = "kmeans_rs"
|
|
dynamic = ["version"]
|
|
authors = [
|
|
{ name = "Wim Pomp", email = "w.pomp@nki.nl" },
|
|
]
|
|
readme = "README.md"
|
|
keywords = ["kmeans"]
|
|
description = "Python wrapper for Rust kmeans library."
|
|
requires-python = ">=3.8"
|
|
classifiers = [
|
|
"License :: OSI Approved :: MIT License",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Programming Language :: Rust",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
]
|
|
|
|
[tool.maturin]
|
|
python-source = "py"
|
|
module-name = "kmeans_rs"
|
|
|
|
[project.scripts]
|
|
kmeans_generate_stub = "kmeans_rs:kmeans_generate_stub"
|
|
|
|
[tool.ruff]
|
|
line-length = 119
|
|
indent-width = 4
|
|
|
|
[tool.isort]
|
|
line_length = 119
|