-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
136 lines (126 loc) · 3.27 KB
/
pyproject.toml
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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["Cython", "setuptools>=40.6.0", "wheel"]
[project]
authors = [
{name = "Joséphine Wolf Oberholtzer", email = "[email protected]"}
]
classifiers = [
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Artistic Software",
"Topic :: Multimedia :: Sound/Audio",
"Topic :: Multimedia :: Sound/Audio :: Analysis",
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis",
]
dependencies = [
"platformdirs >= 4.0.0",
"psutil",
"uqbar >= 0.7.3",
]
description = "A Python API for SuperCollider"
dynamic = ["version"]
keywords = ["audio", "dsp", "music composition", "scsynth", "supercollider", "synthesis"]
license = {text = "MIT"}
name = "supriya"
readme = "README.md"
requires-python = ">= 3.9"
[project.optional-dependencies]
docs = [
"jupyter",
"librosa",
"matplotlib",
"mypy",
"soxr==0.5.0.post1", # https://github.com/librosa/librosa/issues/1831#issuecomment-2176274560
"sphinx-immaterial",
"sphinxext-opengraph",
]
ipython = [
"jupyter",
"jupyter_contrib_nbextensions",
"jupyter_nbextensions_configurator",
"rise",
]
test = [
"black >= 24.0.0",
"flake8 >= 7.0.0",
"isort >= 5.0.0",
"jupyter",
"librosa",
"lxml",
"matplotlib",
"mypy >= 1.8.0",
"pytest",
"pytest-asyncio",
"pytest-cov",
"pytest-mock",
"pytest-rerunfailures",
"setuptools; python_version >= '3.12'",
"soxr==0.5.0.post1", # https://github.com/librosa/librosa/issues/1831#issuecomment-2176274560
"types-PyYAML",
"types-docutils",
]
[project.urls]
homepage = "https://github.com/supriya-project/supriya"
documentation = "https://supriya-project.github.io/supriya"
repository = "https://github.com/supriya-project/supriya"
[tool.black]
target-version = ["py312"]
[tool.cibuildwheel]
build = "cp39-* cp310-* cp311-* cp312-*"
test-command = [
"python -c 'from supriya.contexts import shm; print(shm.__file__)'",
"python -c 'from supriya.utils._intervals import IntervalTreeDriverEx'",
]
[tool.cibuildwheel.windows]
test-command = [
# Can't get ServerSHM to build on Windows due to date_time library requirement.
# Only double-quotes work on Windows.
'python -c "from supriya.utils._intervals import IntervalTreeDriverEx"',
]
[tool.coverage.report]
exclude_lines = [
"if TYPE_CHECKING:",
"pragma: no cover",
"raise NotImplementedError",
]
[tool.isort]
case_sensitive = true
known_third_party = ["uqbar"]
profile = "black"
skip = "supriya/__init__.py"
[tool.mypy]
ignore_missing_imports = true
plugins = [
"supriya.ext.mypy",
]
[tool.pytest.ini_options]
addopts = [
"--cov-branch",
"--cov-report=html",
"--cov-report=term",
"--doctest-modules",
"-rf",
"-vv",
]
doctest_optionflags = [
"ELLIPSIS"
]
log_format = "%(asctime)s.%(msecs)03d %(name)s %(levelname)s %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
markers = [
"sphinx: mark a test as a Sphinx test."
]
testpaths = [
"tests",
"supriya",
]