rename GUI entry points

define voicemeeter-api local path dependency

bump voicemeeter-api dep

add pre-commit config
This commit is contained in:
2026-03-10 20:59:01 +00:00
parent 47d38e4468
commit d850581179
4 changed files with 112 additions and 125 deletions

View File

@@ -2,26 +2,24 @@
name = "nvda-voicemeeter"
version = "1.0.0"
description = "A Voicemeeter app compatible with NVDA"
authors = [
{name = "Onyx and Iris", email = "code@onyxandiris.online"},
authors = [{ name = "Onyx and Iris", email = "code@onyxandiris.online" }]
dependencies = [
"pyparsing>=3.2.1",
"voicemeeter-api>=2.7.2",
"freesimplegui>=5.1.1",
]
dependencies = ["pyparsing>=3.2.1", "voicemeeter-api>=2.6.1", "freesimplegui>=5.1.1"]
requires-python = ">=3.10,<3.13"
readme = "README.md"
license = {text = "MIT"}
license = { text = "MIT" }
[dependency-groups]
format = [
"ruff>=0.9.2",
]
build = [
"pyinstaller>=6.3.0",
]
format = ["ruff>=0.9.2"]
build = ["pyinstaller>=6.3.0"]
[project.scripts]
gui-basic-nvda = "nvda_voicemeeter.gui.basic:run"
gui-banana-nvda = "nvda_voicemeeter.gui.banana:run"
gui-potato-nvda = "nvda_voicemeeter.gui.potato:run"
nvda-voicemeeter-basic = "nvda_voicemeeter.gui.basic:run"
nvda-voicemeeter-banana = "nvda_voicemeeter.gui.banana:run"
nvda-voicemeeter-potato = "nvda_voicemeeter.gui.potato:run"
[build-system]
requires = ["pdm-backend"]
@@ -30,10 +28,10 @@ build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.scripts]
build = {shell = "task build"}
compress = {shell = "task compress"}
release = {composite = ["build", "compress"]}
[tool.pdm.dev-dependencies]
dev = [
"-e file:///${PROJECT_ROOT}/../voicemeeter-api-python#egg=voicemeeter-api",
]
[tool.ruff]
exclude = [
@@ -112,7 +110,4 @@ docstring-code-line-length = "dynamic"
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"__init__.py" = [
"E402",
"F401",
]
"__init__.py" = ["E402", "F401"]