Debian Codegraph @

pyproject.toml

raw symbols SCIP
1 [project]
2 name = "audioread"
3 version = "3.1.0"
4 description = "Multi-library, cross-platform audio decoding."
5 authors = [
6 { name = "Adrian Sampson", email = "[email protected]" },
7 ]
8 readme = "README.rst"
9 license = "MIT"
10 requires-python = ">=3.9"
11 classifiers = [
12 "Topic :: Multimedia :: Sound/Audio :: Conversion",
13 "Intended Audience :: Developers",
14 "Programming Language :: Python :: 3",
15 "Programming Language :: Python :: 3.9",
16 "Programming Language :: Python :: 3.10",
17 "Programming Language :: Python :: 3.11",
18 "License :: OSI Approved :: MIT License",
19 ]
20 dependencies = [
21 "standard-aifc; python_version >= '3.13'",
22 "standard-sunau; python_version >= '3.13'",
23 ]
24
25 [project.urls]
26 Homepage = "https://github.com/beetbox/audioread"
27 Repository = "https://github.com/beetbox/audioread"
28 "Bug Tracker" = "https://github.com/beetbox/audioread/issues"
29
30 [project.optional-dependencies]
31 test = ["pytest >= 8.4.2", "pytest-cov >= 7.0.0"]
32 mad = ["pymad[mad] (>=0.11.3,<0.12.0)"]
33 gi = ["pygobject (>=3.54.2,<4.0.0)"]
34
35 [build-system]
36 requires = ["poetry-core"]
37 build-backend = "poetry.core.masonry.api"
38
39 [tool.pipx-install]
40 poethepoet = ">=0.26"
41 poetry = ">=2.1"
42
43 [tool.poetry.requires-plugins]
44 poethepoet = ">=0.32"
45
46 [tool.poe.tasks.test]
47 help = "Run tests with pytest"
48 cmd = "pytest $OPTS"
49 env.OPTS.default = "-p no:cov"
50
51 [tool.poe.tasks.test-with-coverage]
52 help = "Run tests and record coverage"
53 ref = "test"
54 # record coverage in audioread package
55 # save xml for coverage upload to coveralls
56 # save html report for local dev use
57 # measure coverage across logical branches
58 # show which tests cover specific lines in the code (see the HTML report)
59 env.OPTS = """
60 --cov=audioread
61 --cov-report=xml:.reports/coverage.xml
62 --cov-report=html:.reports/html
63 --cov-branch
64 --cov-context=test
65 """