-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (46 loc) · 1.3 KB
/
pyproject.toml
File metadata and controls
56 lines (46 loc) · 1.3 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[project]
name = "uvws"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
authors = [
{ name = "Asaf Shakarzy", email = "asaf000@gmail.com" }
]
requires-python = ">=3.13"
dependencies = [
"fastapi>=0.115.14",
"uvicorn>=0.35.0",
]
[project.scripts]
uvws = "uvws:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv.workspace]
members = ["packages/core", "packages/svc1"]
[dependency-groups]
dev = [
"python-semantic-release>=10.1.0",
]
[tool.semantic_release]
build_command = "pip install uv && uv build"
commit_parser = "./scripts/psr/custom_parser/monorepo_parser.py:ConventionalCommitMonorepoParser"
commit_message = """\
chore(uvws-release): Release `uvws@{version}` [skip ci]
Automatically generated by python-semantic-release
"""
allow_zero_version = true
tag_format = "uvws-{version}"
version_toml = ["pyproject.toml:project.version"]
version_variables = ["src/uvws/__init__.py:__version__"]
[tool.semantic_release.commit_parser_options]
path_filters=[".", "!packages/core/*", "!packages/svc1/*"]
[tool.semantic_release.branches.main]
match = "main"
prerelease = false
[tool.semantic_release.branches.beta]
match = "beta"
prerelease = true
prerelease_token = "beta"
[tool.semantic_release.publish]
dist_glob_patterns = ["./dist/uvws-*"]