-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (59 loc) · 1.78 KB
/
pyproject.toml
File metadata and controls
65 lines (59 loc) · 1.78 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
56
57
58
59
60
61
62
63
64
65
[project]
name = "openpecha"
version = "2.5.0"
authors = [
{name = "Tashi Tsering", email = "tashitsering@esukhia.org"},
{name = "Tenzin Tsundue", email = "tsundue@esukhia.org"}
]
description = "OpenPecha toolkit version 2"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
# Keep all regular dependencies
dependencies = [
"pydantic >= 2.7.4",
"stam == 0.9.0",
"diff-match-patch==20230430",
"pyewts == 0.2.0",
"botok >= 0.8.12",
"python-docx >= 1.1.2",
"fast_antx == 0.0.1",
"bo_sent_tokenizer == 0.0.1",
"docx2python == 3.3.0",
"boto3 >= 1.34.0",
"botocore >= 1.34.0",
"rdflib>=5.0.0",
"fonttools[unicode] >= 4.37.3",
"beautifulsoup4 >= 4.12.0"
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"pre-commit",
]
docs = [
"sphinx>=7.0.0",
"sphinx-rtd-theme>=1.3.0",
"myst-parser>=2.0.0",
"sphinx-autodoc-typehints>=1.25.0",
]
[project.urls]
"Homepage" = "https://github.com/OpenPecha/openpecha-project-template"
"Bug Tracker" = "https://github.com/OpenPecha/openpecha-project-template/issues"
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
branch = "main"
upload_to_pypi = false # Disable direct PyPI upload; handled by workflow
upload_to_release = true # This is for creating GitHub releases
build_command = "pip install build && python -m build"
# Use angular commit style for parsing (conventional commits)
commit_message_style = "angular"
major_on_breaking_change = true # Default, but explicit
minor_on_feat = true # Default for angular style
patch_on_fix = true # Default for angular style
tag_format = "v{version}" # Git tag format