-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (64 loc) · 1.47 KB
/
pyproject.toml
File metadata and controls
76 lines (64 loc) · 1.47 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
71
72
73
74
75
76
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "jptrainer"
version = "0.2.0"
description = "Jazz Piano Trainer"
readme = "README.md"
license = { file = "LICENSE" }
authors = [ { name = "2CoderOK" } ]
requires-python = ">=3.10"
keywords = ["audio", "piano", "sampler", "jazz", "trainer"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"piano-sampler>=0.1.1",
"mido==1.3.3",
"pygame==2.6.1",
"python-rtmidi==1.5.8",
"Pillow==12.1.1"
]
[project.scripts]
jptrainer = "jptrainer.main:main"
[project.urls]
Homepage = "https://github.com/2CoderOK/jp-trainer"
Issues = "https://github.com/2CoderOK/jp-trainer/issues"
[tool.hatch.build]
include = [
"jptrainer/**/*.py",
"jptrainer/config/*.json",
"jptrainer/images/**/*.png",
"jptrainer/audio/**/*.mp3",
]
[tool.hatch.build.targets.wheel]
packages = ["jptrainer"]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"ruff>=0.3.0",
]
[dependency-groups]
dev = [
"pytest>=7.0.0",
"ruff>=0.3.0",
]
[tool.hatch.build.targets.sdist]
include = [
"jptrainer/",
"README.md",
"LICENSE",
"assets/", # Included in source distribution for GitHub/Reference
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "B", "UP"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v"
pythonpath = ["."]