-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
37 lines (33 loc) · 932 Bytes
/
pyproject.toml
File metadata and controls
37 lines (33 loc) · 932 Bytes
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
[build-system]
requires = ["maturin>=1.9,<2.0"]
build-backend = "maturin"
[project]
name = "readme-update"
version = "0.3.0"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
license = "MIT"
license-files = ["LICENSE"]
dependencies = []
[tool.maturin]
features = ["pyo3/extension-module"]
module-name = "readme_update"
python-source = "python"
python-packages = ["update_readme"]
strip = true
[tool.uv]
# Rebuild package when any rust files change
cache-keys = [{file = "pyproject.toml"}, {file = "rust/Cargo.toml"}, {file = "**/*.rs"}]
[dependency-groups]
dev = [
"pre-commit>=4.2.0",
"repo-mapper-rs>=0.1.0",
"ruff>=0.12.5",
]
# Uncomment to build rust code in development mode
# config-settings = { build-args = '--profile=dev' }