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:
Matteo Bernardini
2025-08-06 13:05:52 +08:00
parent 807c36d133
commit aea0fc62e8
7 changed files with 56 additions and 49 deletions

8
uv.lock generated Normal file
View File

@@ -0,0 +1,8 @@
version = 1
revision = 2
requires-python = ">=3.10"
[[package]]
name = "pyalsaaudio"
version = "0.11.0"
source = { editable = "." }