-
Notifications
You must be signed in to change notification settings - Fork 273
/
pyproject.toml
92 lines (86 loc) · 2.45 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
[project]
name = "basic-pitch"
version = "0.4.0"
description = "Basic Pitch, a lightweight yet powerful audio-to-MIDI converter with pitch bend detection."
readme = "README.md"
keywords = []
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
dependencies = [
"coremltools; platform_system == 'Darwin'",
"librosa>=0.8.0",
"mir_eval>=0.6",
"numpy>=1.18",
"onnxruntime; platform_system == 'Windows' and python_version < '3.11'",
"pretty_midi>=0.2.9",
"resampy>=0.2.2,<0.4.3",
"scikit-learn",
"scipy>=1.4.1",
"tensorflow>=2.4.1,<2.15.1; platform_system != 'Darwin' and python_version >= '3.11'",
"tensorflow-macos>=2.4.1,<2.15.1; platform_system == 'Darwin' and python_version > '3.11'",
"tflite-runtime; platform_system == 'Linux' and python_version < '3.11'",
"typing_extensions",
]
[metadata]
author = "Spotify"
author_email = "[email protected]"
maintainer = "Spotify"
maintainer_email = "[email protected]"
url = "https://github.com/spotify/basic-pitch"
long_description = "Basic Pitch, a lightweight yet powerful audio-to-MIDI converter with pitch bend detection. See https://github.com/spotify/basic-pitch for more details."
license = { file = "LICENSE" }
[tool.setuptools.packages.find]
where = ["."]
exclude = ["tests"]
namespaces = false
[project.scripts]
basic-pitch = "basic_pitch.predict:main"
bp-download = "basic_pitch.data.download:main"
[project.optional-dependencies]
data = [
"basic_pitch[tf,test]",
"apache_beam",
"mirdata",
"smart_open",
"sox",
"ffmpeg-python"
]
test = [
"basic_pitch[data]",
"coverage>=5.0.2",
"pytest>=6.1.1",
"pytest-mock",
"wave",
"mido"
]
tf = [
"tensorflow>=2.4.1,<2.15.1; platform_system != 'Darwin'",
"tensorflow-macos>=2.4.1,<2.15.1; platform_system == 'Darwin' and python_version > '3.7'",
]
coreml = ["coremltools"]
onnx = ["onnxruntime"]
docs = ["mkdocs>=1.0.4"]
dev = [
"basic_pitch[data,test,tf,coreml,onnx,docs]",
"mypy",
"tox",
]
[tool.distutils.bdist_wheel]
universal = true
[build-system]
requires = [
"setuptools>=40.8.0",
"wheel",
"cython",
]