Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (58 loc) · 1.59 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (58 loc) · 1.59 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
[project]
name = "playbacque"
description = "Loop play audio"
readme = "README.md"
license = { text = "MIT" }
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio :: Players",
]
requires-python = ">=3.7"
dependencies = [
"sounddevice>=0.4.0",
"soundit>=0.2",
"typing-extensions>=4.0.0;python_version<'3.10'",
"importlib-metadata>=4.0.0;python_version<'3.8'",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://pypi.org/project/playbacque/"
Repository = "https://github.com/GeeTransit/playbacque"
[[project.authors]]
name = "George Zhang"
email = "geetransit@gmail.com"
[project.scripts]
playbacque = "playbacque:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.envs.lint]
skip-install = true
dependencies = [
"flake8>=4.0.0",
"pyproject-flake8>=0.0.1a2",
"mypy>=0.901",
]
[tool.hatch.envs.lint.scripts]
# TODO: Change to flake8 when it supports pyproject.toml
style = "pflake8 playbacque.py"
typing = "mypy --install-types --non-interactive playbacque.py"
all = ["style", "typing"]
[tool.hatch.envs.test.scripts]
doctest = "python -m doctest playbacque.py"
all = ["doctest"]
[tool.hatch.envs.test-matrix]
template = "test"
[[tool.hatch.envs.test-matrix.matrix]]
python = ["37", "38", "39", "310"]
[tool.flake8]
extend-ignore = "E302, E305"
[tool.mypy]
strict = true
show_error_codes = true
[build-system]
requires = ["hatchling>=0.15.0", "hatch-vcs"]
build-backend = "hatchling.build"