-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
116 lines (107 loc) · 3.18 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
[build-system]
requires = ["hatchling", "versioningit"]
build-backend = "hatchling.build"
[project]
dynamic = ["version"]
name = "musify"
authors = [
{ name="George Martin Marino", email="gm.engineer+musify@pm.me" },
]
description = "A Swiss Army knife for programmatic music library management"
readme = "README.md"
license-files = { paths = ["LICENSE"] }
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Intended Audience :: Developers",
]
dependencies = [
"mutagen~=1.47",
"aiorequestful~=1.0",
"python-dateutil~=2.9",
"Pillow~=11.0",
]
[project.optional-dependencies]
# optional functionality
all = [
"musify[bars,musicbee,sqlite]",
]
bars = [
"tqdm~=4.67",
]
musicbee = [
"xmltodict~=0.14",
"lxml~=5.3",
]
sqlite = [
"aiorequestful[sqlite]~=1.0",
]
# dev dependencies
build = [
"hatch~=1.13",
"versioningit~=3.1",
]
test = [
"musify[all]",
"pytest~=8.3",
"pytest-asyncio>=0.24,<1.0",
"pytest-xdist~=3.6",
"pytest-mock~=3.14",
"aioresponses~=0.7",
"pyyaml~=6.0",
"pycountry>=24.6,<25.0",
]
docs = [
"musify[build]",
"sphinx>=8.1.3,<9.0",
"sphinx-rtd-theme>=3.0.2,<4.0",
"graphviz>=0.20.3,<1.0",
"sphinx-autodoc-typehints>=2.5.0,<4.0",
"autodocsumm>=0.2.14,<1.0",
"sphinxext-opengraph>=0.9.1,<1.0",
"matplotlib>=3.9.2,<4.0",
"sphinx-new-tab-link>=0.6.1,<1.0",
]
dev = [
"musify[test,docs]",
"flake8",
"grip",
"jupyterlab",
"ipywidgets",
]
[project.urls]
"Documentation" = "https://geo-martino.github.io/musify/"
"Release Notes" = "https://geo-martino.github.io/musify/info/release-history.html"
"Contribute" = "https://geo-martino.github.io/musify/info/contributing.html"
"Source code" = "https://github.com/geo-martino/musify"
Issues = "https://github.com/geo-martino/musify/issues"
[tool.hatch.version]
source = "versioningit"
[tool.versioningit]
default-version = "0.0.0"
[tool.versioningit.format]
# WORKAROUND: commits for actual production releases keep getting identified as dirty and/or with distance
# Delete this config when fixed. It should be the commented lines below each (i.e. the default formats)
#distance = "{next_version}.dev{distance}+{vcs}{rev}"
dirty = "{base_version}"
#dirty = "{base_version}+d{build_date:%Y%m%d}"
distance-dirty = "{base_version}"
#distance-dirty = "{next_version}.dev{distance}+{vcs}{rev}.d{build_date:%Y%m%d}"
[tool.hatch.build.targets.sdist]
include = ["musify"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-color=yes"
markers = [
"slow: marks test as slow (deselect with '-m \"not slow\"')",
"manual: marks tests to be run only when manually directed to by the developer",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"