Skip to content

Commit 5a6df52

Browse files
authored
Add pyproject.toml for project configuration
1 parent 7732e05 commit 5a6df52

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

13773/pyproject.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[project]
2+
dynamic = ["version"]
3+
name = "test-repo"
4+
requires-python = ">=3.13,<3.14"
5+
dependencies = ["ruamel.yaml==0.17.38"]
6+
7+
[dependency-groups]
8+
test = []
9+
10+
[tool.uv]
11+
default-groups = ["test"]
12+
13+
[build-system]
14+
requires = ["setuptools>=64", "setuptools_scm>=8", "wheel"]
15+
build-backend = "setuptools.build_meta"
16+
17+
18+
[tool.setuptools.packages.find]
19+
exclude = ["tests*", "deployment*"]
20+
21+
[tool.setuptools_scm]
22+
root = "../../" # to the .git folder, relative to this pyproject.toml file
23+
fallback_version = "0.0.0" # to make dependabot work
24+
25+
# Make sure to update the two commands below with the name of your package
26+
# Note: you have to use single quoted strings in TOML for regular expressions
27+
tag_regex = 'fake_api_gateway-v(?P<version>\d+(?:\.\d+){0,2}[^\+]+)(?:\+.*)?$'
28+
git_describe_command = "git describe --dirty --tags --long --match 'fake_api_gateway-v*'"

0 commit comments

Comments
 (0)