-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (49 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
57 lines (49 loc) · 1.31 KB
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
[project]
name = "notes"
version = "0.1.0"
description = "KDE desktop application for note management with speech-to-text"
authors = [{name = "Luca Pisani", email = "lucas.pisani@gmail.com"}]
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"PyQt6>=6.6.0",
"sounddevice>=0.4.6",
"wavio>=0.0.8",
"numpy>=1.26.0",
"vosk (>=0.3.45,<0.4.0)",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"coverage>=7.3.0",
]
[project.scripts]
notes = "main:main"
[tool.poetry]
packages = [{include = "gui"}, {include = "models"}, {include = "speech"}]
[tool.poetry.dependencies]
python = "^3.9"
PyQt6 = "^6.6.0"
sounddevice = "^0.4.6"
wavio = "^0.0.8"
numpy = "^1.26.0"
vosk = "^0.3.45"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.0"
pytest-cov = "^4.1.0"
coverage = "^7.3.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
python_classes = "Test*"
python_functions = "test_*"
addopts = "-v --cov=. --cov-report=term-missing --cov-report=html"
# Translation configuration
# To update translations:
# 1. Extract strings: pylupdate6 -noobsolete main.py gui/*.py -ts i18n/en.ts i18n/it.ts
# 2. Edit .ts files with Qt Linguist
# 3. Compile: lrelease i18n/*.ts