-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
117 lines (98 loc) · 2.91 KB
/
pyproject.toml
File metadata and controls
117 lines (98 loc) · 2.91 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[tool.poetry]
name = "c2pie"
version = "0.1.0"
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[project]
name = "c2pie"
description = "c2pie is a Python library that provides C2PA standard functionality."
readme = 'README.md'
authors = [
{ name="Tourmaline Core", email="contact@tourmalinecore.com" },
]
license = {file = 'LICENSE'}
requires-python = '>=3.9.2'
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
'Operating System :: Microsoft :: Windows',
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
[project.urls]
Homepage = "https://github.com/TourmalineCore/c2pie"
Issues = "https://github.com/TourmalineCore/c2pie/issues"
[project.scripts]
c2pie = 'c2pie.main:main'
[tool.poetry.dependencies]
python = ">=3.9.2,<3.15"
cbor2 = "^5.6.3"
cryptography = ">=44.0.1"
pytz = "^2024.1"
cffi = "<=2.0.0"
pypdf = "^6.1.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
pytest-cov = "^7.0.0"
ruff = "^0.13.2"
[tool.poetry.group.semantic-release.dependencies]
python-semantic-release = "^10.4.1"
[build-system]
requires = ["poetry>=1.8.3"]
build-backend = "poetry.masonry.api"
[tool.pytest.ini_options]
markers = [
"e2e: marks tests as e2e",
]
[tool.coverage.run]
omit = [
"*_test.py",
"*/__init__.py",
]
[tool.coverage.report]
show_missing = true
[tool.semantic_release]
version_toml = ["pyproject.toml:tool.poetry.version"]
build_command = "poetry build"
allow_zero_version = true
commit_parser = "conventional"
commit_message = "{version}\n\nAutomatically generated by python-semantic-release\n\nskip-checks: true"
[tool.semantic_release.commit_parser_options]
minor_tags = ["feat"]
patch_tags = ["fix", "docs"]
parse_squash_commits = true
ignore_merge_commits = true
allowed_tags = ['feat', 'fix', 'build', 'chore', 'ci', 'docs', 'style', 'refactor', 'test', 'config']
[tool.semantic_release.changelog]
exclude_commit_patterns = [
'''chore(?:\([^)]*?\))?: .+''',
'''ci(?:\([^)]*?\))?: .+''',
'''style(?:\([^)]*?\))?: .+''',
'''test(?:\([^)]*?\))?: .+''',
'''build\((?!deps\): .+)''',
'''Initial [Cc]ommit.*''',
'''.*tweaks.*''',
'''^[^:]+\(semantic-release\):.*''',
'''.*try.*''',
'''docs(readme): bring test coverage up to date''',
]
[tool.semantic_release.branches.master]
match = "master"
prerelease = false
[tool.semantic_release.branches.prereleases]
match = "^(release)/.+"
prerelease = true
prerelease_token = "rc"
[tool.semantic_release.branches.alpha]
match = "^(feat|fix|docs)/.+"
prerelease = true
prerelease_token = "alpha"