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
+1 -1
View File
@@ -10,5 +10,5 @@ build/
dist/
.vscode/
/__pycache__/
/pyalsaaudio.egg-info/
*.egg-info/
*.raw