-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (58 loc) · 1.77 KB
/
pyproject.toml
File metadata and controls
65 lines (58 loc) · 1.77 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 = "audioread"
version = "3.1.0"
description = "Multi-library, cross-platform audio decoding."
authors = [
{ name = "Adrian Sampson", email = "adrian@radbox.org" },
]
readme = "README.rst"
license = "MIT"
requires-python = ">=3.9"
classifiers = [
"Topic :: Multimedia :: Sound/Audio :: Conversion",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"standard-aifc; python_version >= '3.13'",
"standard-sunau; python_version >= '3.13'",
]
[project.urls]
Homepage = "https://github.com/beetbox/audioread"
Repository = "https://github.com/beetbox/audioread"
"Bug Tracker" = "https://github.com/beetbox/audioread/issues"
[project.optional-dependencies]
test = ["pytest >= 8.4.2", "pytest-cov >= 7.0.0"]
mad = ["pymad[mad] (>=0.11.3,<0.12.0)"]
gi = ["pygobject (>=3.54.2,<4.0.0)"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pipx-install]
poethepoet = ">=0.26"
poetry = ">=2.1"
[tool.poetry.requires-plugins]
poethepoet = ">=0.32"
[tool.poe.tasks.test]
help = "Run tests with pytest"
cmd = "pytest $OPTS"
env.OPTS.default = "-p no:cov"
[tool.poe.tasks.test-with-coverage]
help = "Run tests and record coverage"
ref = "test"
# record coverage in audioread package
# save xml for coverage upload to coveralls
# save html report for local dev use
# measure coverage across logical branches
# show which tests cover specific lines in the code (see the HTML report)
env.OPTS = """
--cov=audioread
--cov-report=xml:.reports/coverage.xml
--cov-report=html:.reports/html
--cov-branch
--cov-context=test
"""