-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
29 lines (26 loc) · 935 Bytes
/
pyproject.toml
File metadata and controls
29 lines (26 loc) · 935 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
[build-system]
requires = ["maturin>=1.5,<2.0", "setuptools-scm"]
build-backend = "maturin"
[project]
name = "gitcraft"
dynamic = ["version"] # ← version is now determined from Git tags
description = "A template project for GitHub-related utilities."
authors = [{name = "John Kagunda", email = "john@kagunda.dev"}]
license = {text = "Apache-2.0"}
readme = "README.md"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Rust",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Environment :: Console",
]
requires-python = ">=3.8"
dependencies = []
[tool.setuptools_scm]
# Use semantic versioning from annotated or lightweight Git tags
# Assumes tags are in the format `v1.2.3` or `1.2.3`
version_scheme = "release-branch-semver"
local_scheme = "no-local-version" # avoids +g123abc suffixes in release tags
[tool.maturin]
bindings = "bin"