2023-10-14 11:50:32 +00:00
|
|
|
[project]
|
|
|
|
name = "xiaomusic"
|
2024-07-06 11:25:57 +00:00
|
|
|
version = "0.1.95"
|
2023-10-14 11:50:32 +00:00
|
|
|
description = "Play Music with xiaomi AI speaker"
|
|
|
|
authors = [
|
|
|
|
{name = "涵曦", email = "im.hanxi@gmail.com"},
|
|
|
|
]
|
|
|
|
dependencies = [
|
|
|
|
"aiohttp>=3.8.6",
|
2024-05-17 12:27:47 +00:00
|
|
|
"miservice-fork>=2.5.0",
|
2023-10-14 11:50:32 +00:00
|
|
|
"mutagen>=1.47.0",
|
2024-07-02 03:11:17 +00:00
|
|
|
"yt-dlp>=2024.07.01",
|
2024-01-28 10:17:45 +00:00
|
|
|
"flask[async]>=3.0.1",
|
2024-05-19 15:53:31 +00:00
|
|
|
"waitress>=3.0.0",
|
2024-06-23 07:06:42 +00:00
|
|
|
"flask-HTTPAuth>=4.8.0",
|
2023-10-14 11:50:32 +00:00
|
|
|
]
|
|
|
|
requires-python = ">=3.10"
|
|
|
|
readme = "README.md"
|
|
|
|
license = {text = "MIT"}
|
|
|
|
|
2024-06-30 05:40:08 +00:00
|
|
|
[project.urls]
|
|
|
|
Homepage = "https://github.com/hanxi/xiaomusic"
|
|
|
|
|
|
|
|
[project.scripts]
|
2024-06-30 06:38:04 +00:00
|
|
|
xiaomusic = "xiaomusic.cli:main"
|
2024-06-30 05:40:08 +00:00
|
|
|
|
2023-10-14 11:50:32 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["pdm-backend"]
|
|
|
|
build-backend = "pdm.backend"
|
2024-05-19 15:53:31 +00:00
|
|
|
|
|
|
|
[tool.pdm]
|
2024-06-14 01:58:10 +00:00
|
|
|
[tool.pdm.dev-dependencies]
|
|
|
|
lint = [
|
|
|
|
"ruff>=0.4.8",
|
|
|
|
]
|
|
|
|
[tool.ruff]
|
2024-06-20 15:45:23 +00:00
|
|
|
lint.select = [
|
2024-06-14 01:58:10 +00:00
|
|
|
"B", # flake8-bugbear
|
|
|
|
"C4", # flake8-comprehensions
|
|
|
|
"E", # pycodestyle - Error
|
|
|
|
"F", # Pyflakes
|
|
|
|
"I", # isort
|
|
|
|
"W", # pycodestyle - Warning
|
|
|
|
"UP", # pyupgrade
|
|
|
|
]
|
2024-06-20 15:45:23 +00:00
|
|
|
lint.ignore = [
|
2024-06-14 01:58:10 +00:00
|
|
|
"E501", # line-too-long
|
|
|
|
"W191", # tab-indentation
|
|
|
|
]
|
|
|
|
include = ["**/*.py", "**/*.pyi", "**/pyproject.toml"]
|
|
|
|
|
2024-06-20 15:45:23 +00:00
|
|
|
[tool.ruff.lint.pydocstyle]
|
2024-06-14 01:58:10 +00:00
|
|
|
convention = "google"
|
|
|
|
|
|
|
|
[tool.pdm.scripts]
|
|
|
|
lint = "ruff check ."
|
|
|
|
fmt = "ruff format ."
|
2024-07-06 14:49:41 +00:00
|
|
|
|
|
|
|
[tool.commitizen]
|
|
|
|
name = "cz_conventional_commits"
|
|
|
|
tag_format = "v$version"
|
|
|
|
version_scheme = "pep440"
|
|
|
|
version_provider = "pep621"
|
|
|
|
update_changelog_on_bump = true
|
|
|
|
major_version_zero = true
|