-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpyproject.toml
More file actions
187 lines (171 loc) · 6.39 KB
/
Copy pathpyproject.toml
File metadata and controls
187 lines (171 loc) · 6.39 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
[build-system]
requires = ["setuptools", "setuptools-scm", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "fluster-conformance"
# TODO: Ensure that version 0.x.0 is marked as the final version in the CI release workflow only when we are certain
# about deploying a new release. This prevents creating an irreversible history in PyPI, which would block re-uploading
# the same version.
version = "0.7.1"
authors = [
{name = "Andoni Morales Alastruey", email="amorales@fluendo.com"},
# {name = "Pablo Marcos Oltra"}, wait to (https://github.com/pypi/warehouse/issues/12877)
]
maintainers = [
{name = "Michalis Dimopoulos", email="mdimopoulos@fluendo.com"},
{name = "Ruben Gonzalez", email="rgonzalez@fluendo.com"},
]
description = "Testing framework for decoder conformance"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.7"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"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",
"Topic :: Multimedia",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Video",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
]
[tool.setuptools.package-data]
"additional_documents" = ["REPORT.md"]
[project.urls]
"Github repository" = "https://github.com/fluendo/fluster/"
[tool.setuptools]
packages = ["fluster", "fluster.decoders"]
[tool.setuptools.exclude-package-data]
"*" = [
"docker/*",
".dockerignore",
".github/*"
]
[tool.setuptools.data-files]
"share/fluster/test_suites/aac" = [
"test_suites/aac/MPEG2_AAC-ADTS.json",
"test_suites/aac/MPEG2_AAC-ADIF.json",
"test_suites/aac/MPEG4_AAC-ADIF.json",
"test_suites/aac/MPEG4_AAC-ADTS.json",
"test_suites/aac/MPEG4_AAC-MP4.json",
"test_suites/aac/MPEG4_AAC-MP4-ER.json"
]
"share/fluster/test_suites/ac4" = [
"test_suites/ac4/AC4_ELEMENTARY_STREAMS.json"
]
"share/fluster/test_suites/av1" = [
"test_suites/av1/AV1-TEST-VECTORS.json",
"test_suites/av1/AV1-ARGON-PROFILE0-CORE-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE0-ERROR-NON-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE0-NON-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE0-STRESS-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE1-CORE-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE1-ERROR-NON-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE1-NON-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE1-STRESS-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE2-CORE-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE2-ERROR-NON-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE2-NON-ANNEX-B.json",
"test_suites/av1/AV1-ARGON-PROFILE2-STRESS-ANNEX-B.json",
"test_suites/av1/CHROMIUM-10bit-AV1-TEST-VECTORS.json",
"test_suites/av1/CHROMIUM-8bit-AV1-TEST-VECTORS.json"
]
"share/fluster/test_suites/h.264" = [
"test_suites/h.264/JVT-AVC_V1.json",
"test_suites/h.264/JVT-FR-EXT.json",
"test_suites/h.264/JVT-MVC.json",
"test_suites/h.264/JVT-Professional_profiles.json",
"test_suites/h.264/JVT-SVC.json"
]
"share/fluster/test_suites/h.265" = [
"test_suites/h.265/JCT-VC-3D-HEVC.json",
"test_suites/h.265/JCT-VC-HEVC_V1.json",
"test_suites/h.265/JCT-VC-MV-HEVC.json",
"test_suites/h.265/JCT-VC-RExt.json",
"test_suites/h.265/JCT-VC-SCC.json",
"test_suites/h.265/JCT-VC-SHVC.json"
]
"share/fluster/test_suites/h.266" = [
"test_suites/h.266/JVET-VVC_draft6.json",
]
"share/fluster/test_suites/vp8" = [
"test_suites/vp8/VP8-TEST-VECTORS.json",
]
"share/fluster/test_suites/vp9" = [
"test_suites/vp9/VP9-TEST-VECTORS-HIGH.json",
"test_suites/vp9/VP9-TEST-VECTORS.json"
]
"share/fluster/test_suites/mpeg2v" = [
"test_suites/mpeg2v/MPEG2_VIDEO-422.json",
"test_suites/mpeg2v/MPEG2_VIDEO-MAIN.json"
]
"share/fluster/test_suites/mpeg4v" = [
"test_suites/mpeg4v/MPEG4_VIDEO-AdvancedSimpleProfile.json",
"test_suites/mpeg4v/MPEG4_VIDEO-SimpleProfile.json",
"test_suites/mpeg4v/MPEG4_VIDEO-SimpleScalableProfile.json",
"test_suites/mpeg4v/MPEG4_VIDEO-SimpleStudioProfile.json"
]
"share/man/man1" = [
"docs/fluster.1"
]
# Once https://github.com/pypa/pip/issues/12963 is implemented we can think about adding
# [dependency-groups]
# dev = ["pre-commit==2.21.0"]
# https://docs.astral.sh/ruff/configuration/#configuring-ruff
[tool.ruff]
line-length = 120
target-version = "py37"
indent-width = 4
[tool.ruff.lint]
# Flake8: E, F, W, N, YTT, "ASYNC", "A", "COM", "C4", "ICN", "PIE", "Q", "SLF"
# isort: I
# Pylint: PLE, PLW
# Flake8 candidates for the future: "RSE", "PTH", "EM", "RET"
select = ["E", "F", "W", "N", "YTT", "ASYNC", "A", "COM", "C4", "ICN", "PIE", "Q", "SLF", "I", "PLE", "PLW"]
ignore = ["COM812"]
fixable = ["ALL"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[project.scripts]
fluster = "fluster.main:fluster_main"
[tool.semantic_release]
version_source = "file"
version_file = "pyproject.toml"
version_pattern = 'version\\s*=\\s*"(.*)"'
commit_parser = "conventional"
allow_zero_version = true
commit_message = "docs: Add release notes for version {version}"
[tool.semantic_release.commit_parser_options]
parse_squash_commits = true
ignore_merge_commits = true
#ignore_patterns = ["^fixup!", "--"] # Uncomment to ignore "fixup!, --xxx" commits until know only in 0.1.0 and 0.2.0
[tool.semantic_release.branches.main]
match = "^release-[0-9]+\\.[0-9]+\\.[0-9]+$"
prerelease = false
[tool.semantic_release.branches.development]
match = "^(?!release-[0-9]+\\.[0-9]+\\.[0-9]+$|master$).*"
prerelease = true
prerelease_token = "rc"
[tool.semantic_release.changelog]
mode = "update"
template_dir = "config/release-templates"
exclude_commit_patterns = [
'''ci(?:\([^)]*?\))?: .+''',
'''build(?:\([^)]*?\))?: .+''',
'''docs(?:\([^)]*?\))?: .+''',
'''style(?:\([^)]*?\))?: .+''',
'''Initial [Cc]ommit.*''',
]