mirror of
https://github.com/larsimmisch/pyalsaaudio.git
synced 2026-06-11 14:52:26 +00:00
chore: modernise packaging.
- use pyproject.toml to define project metadata and setuptools-specific configuration, removing the need for a setup.py file - move sources in conventional src/ directory - rework stubs so that they're visible downstream. PEP-561 doesn't support top-level .pyi files, so I made a dummy package instead `alsaaudio-stubs`
This commit is contained in:
committed by
Lars Immisch
parent
6efef83429
commit
fdc5f3782e
@@ -0,0 +1,47 @@
|
||||
[project]
|
||||
name = "pyalsaaudio"
|
||||
version = "0.11.0"
|
||||
description = "ALSA bindings"
|
||||
readme.text = """
|
||||
This package contains wrappers for accessing the ALSA API from Python.
|
||||
It is fairly complete for PCM devices and Mixer access.
|
||||
"""
|
||||
readme.content-type = "text/plain"
|
||||
license="PSF-2.0"
|
||||
license-files=["LICENSE"]
|
||||
classifiers = [
|
||||
"Development Status :: 4 - Beta",
|
||||
"Intended Audience :: Developers",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Programming Language :: Python :: 2",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: Multimedia :: Sound/Audio",
|
||||
"Topic :: Multimedia :: Sound/Audio :: Mixers",
|
||||
"Topic :: Multimedia :: Sound/Audio :: Players",
|
||||
"Topic :: Multimedia :: Sound/Audio :: Capture/Recording",
|
||||
]
|
||||
|
||||
[[project.authors]]
|
||||
name = "Casper Wilstrup"
|
||||
email = "cwi@aves.dk"
|
||||
|
||||
[[project.maintainers]]
|
||||
name = "Lars Immisch"
|
||||
email = "lars@ibp.de"
|
||||
|
||||
[project.urls]
|
||||
homepage = "http://larsimmisch.github.io/pyalsaaudio/"
|
||||
source = "https://github.com/larsimmisch/pyalsaaudio"
|
||||
documentation = "https://larsimmisch.github.io/pyalsaaudio/"
|
||||
issues = "https://github.com/larsimmisch/pyalsaaudio/issues"
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
|
||||
[tool.setuptools]
|
||||
ext-modules = [
|
||||
{ name = "alsaaudio", sources = ["src/alsaaudio.c"], libraries = ["asound"] }
|
||||
]
|
||||
Reference in New Issue
Block a user