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