-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
124 lines (111 loc) · 3.14 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
# SPDX-FileCopyrightText: 2023 Ole Martin Bjorndalen <[email protected]>
# SPDX-FileCopyrightText: 2023 Raphaël Doursenaud <[email protected]>
#
# SPDX-License-Identifier: CC0-1.0
# PEP 621 (https://peps.python.org/pep-0621/) project metadata
# Format: https://toml.io/en/
[build-system]
requires = ["setuptools>=61.0.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "mido"
# version is dynamic
description = "MIDI Objects for Python"
readme = "README.rst"
requires-python = "~=3.7"
license = { text = "MIT" }
authors = [
{ name = "Ole Martin Bjorndalen", email = "[email protected]" },
]
maintainers = [
{ name = "Radovan Bast", email = "[email protected]" },
{ name = "Raphaël Doursenaud", email = "[email protected]" },
]
keywords = ["python", "midi", "midifile"]
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Topic :: Multimedia :: Sound/Audio :: MIDI',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
dependencies = [
"importlib_metadata; python_version<'3.8'", # For version introspection
"packaging~=23.1", # To provide a nice version_info opbject
]
dynamic = ["version"]
[project.urls]
documentation = "https://mido.readthedocs.io"
source = "https://github.com/mido/mido"
[project.optional-dependencies]
# Separated by tasks for automation efficiency
build-docs = [
'sphinx~=4.3.2',
'sphinx-rtd-theme~=1.2.2',
]
check-manifest = ['check-manifest>=0.49',]
lint-code = ['flake8~=5.0.4',]
lint-reuse = ['reuse~=1.1.2',]
ports-pygame = ['PyGame~=2.5',]
ports-rtmidi = ['python-rtmidi~=1.5.4',]
ports-rtmidi-python = ['rtmidi-python~=0.2.2',]
release = ['twine~=4.0.2',]
test-code = ['pytest~=7.4.0',]
# Convenience groups for human interaction
dev = [
'mido[check-manifest]',
'mido[lint-code]',
'mido[test]',
'mido[lint-reuse]',
'mido[build-docs]',
'mido[release]',
]
ports-all = [
'mido[ports-pygame]',
'mido[ports-rtmidi]',
'mido[ports-rtmidi-python]',
]
[project.scripts]
mido-play = "scripts.mido_play:main"
mido-ports = "scripts.mido_ports:main"
mido-serve = "scripts.mido_serve:main"
mido-connect = "scripts.mido_connect:main"
[tool.setuptools]
packages = [
"mido",
"mido.backends",
"mido.messages",
"mido.midifiles",
]
include-package-data = true
[tool.setuptools.package-dir]
mido = "mido"
[tool.setuptools.package-data]
mido = [
"LICENSE",
]
[tool.setuptools_scm]
# Enables setuptools-scm which updates the version file `mido/_version.py`
# automatically based on git tags.
# The version information can be retrieved using:
# ```python
# importlib_metadata.version('mido')
# ```
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-rs --quiet"
testpaths = [
"tests",
]
norecursedirs = [
"build",
"dist",
"examples",
]