-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (31 loc) · 1.18 KB
/
Copy pathpyproject.toml
File metadata and controls
36 lines (31 loc) · 1.18 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
[build-system]
requires = ["setuptools>=61.0", "setuptools-rust"]
build-backend = "setuptools.build_meta"
[project]
name = "intervalues"
authors = [
{ name="Bert de Bruijn", email="lpdebruijn@gmail.com" },
]
description = "Efficient combining of intervals of numbers."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dynamic = ["version"]
[tool.setuptools.dynamic]
version = {file = "VERSION"}
[project.urls]
Homepage = "https://gitlab.com/bert.debruijn/intervalues"
Issues = "https://gitlab.com/bert.debruijn/intervalues/-/issues"
#[tool.setuptools.packages]
### Pure Python packages/modules
#find = { where = ["python"] }
[[tool.setuptools-rust.ext-modules]]
# Private Rust extension module to be nested into the Python package
target = "intervalues_pyrust" # The last part of the name (e.g. "_lib") has to match lib.name in Cargo.toml,
# but you can add a prefix to nest it inside of a Python package.
path = "rust/Cargo.toml" # Default value, can be omitted
binding = "PyO3" # Default value, can be omitted