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
|
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "playsound3"
dynamic = ["version"]
requires-python = ">=3.10"
authors = [
{ name = "Szymon Mikler", email = "sjmikler@gmail.com" },
{ name = "Taylor Marks", email = "taylor@marksfam.com" },
]
maintainers = [
{ name = "Szymon Mikler", email = "sjmikler@gmail.com" },
]
description = "Cross-platform library to play audio files"
readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "MIT License" }
keywords = ["audio", "sound", "song", "play", "media", "playsound", "music", "wave", "wav", "mp3"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Multimedia :: Sound/Audio :: MIDI",
"Topic :: Multimedia :: Sound/Audio :: Players",
"Topic :: Multimedia :: Sound/Audio :: Players :: MP3",
"Typing :: Typed",
"Operating System :: OS Independent",
]
dependencies = [
"pywin32; sys_platform == 'win32'",
]
[project.urls]
Home = "https://github.com/sjmikler/playsound3"
Issues = "https://github.com/sjmikler/playsound3/issues"
Documentation = "https://github.com/sjmikler/playsound3/blob/main/README.md#quick-start"
[project.optional-dependencies]
dev = [
"pyright",
"pytest",
"ruff",
]
[tool.hatch.version]
path = "playsound3/__init__.py"
[tool.hatch.build.targets.sdist]
include = ["playsound3", "README.md", "tests"]
[tool.hatch.build.targets.wheel]
packages = ["playsound3"]
##################################
## Formatting and testing tools ##
##################################
[tool.pyright]
typeCheckingMode = "standard"
exclude = ["devel", "build", "dist"]
pythonVersion = "3.10"
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.ruff.lint]
select = ["E", "F", "I", "B"]
[tool.pytest.ini_options]
pythonpath = ["."]
# %% Old tools
[tool.black]
line_length = 120
[tool.flake8]
max-line-length = 120
[tool.isort]
profile = "black"
line_length = 120
|