-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (67 loc) · 2.32 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (67 loc) · 2.32 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[build-system]
# license = "MIT" (PEP 639 SPDX string) requires setuptools >= 77; a lower
# floor only works by luck of build isolation grabbing the latest.
requires = ["setuptools>=77.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "openvoiceflow"
version = "0.3.6"
description = "Free voice dictation for macOS — local transcription + optional LLM cleanup"
readme = "README.md"
license = "MIT"
authors = [{name = "Shimoverse Studios"}]
requires-python = ">=3.9"
keywords = ["voice", "dictation", "speech-to-text", "whisper", "macos", "openvoiceflow"]
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
dependencies = [
"sounddevice>=0.4",
"numpy>=1.20",
"pynput>=1.7",
]
[project.optional-dependencies]
menubar = ["rumps>=0.4"]
overlay = ["pyobjc-framework-Cocoa>=9.0"]
all = ["rumps>=0.4", "pyobjc-framework-Cocoa>=9.0"]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
"ruff>=0.4",
"build>=1.0",
"twine>=4.0",
]
[project.scripts]
openvoiceflow = "voiceflow.__main__:main"
[project.urls]
Homepage = "https://openvoiceflow.com/"
Download = "https://openvoiceflow.com/download.html"
Source = "https://github.com/shimoverse/openvoiceflow"
Issues = "https://github.com/shimoverse/openvoiceflow/issues"
[tool.setuptools.packages.find]
include = ["voiceflow*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"
markers = [
"slow: tests that take more than a second",
"integration: tests that require external resources (network, brew, etc.)",
]
[tool.ruff]
target-version = "py39"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = []
[tool.ruff.lint.per-file-ignores]
"voiceflow/llm/__init__.py" = ["F401"] # re-exports
# The docs generator carries the manual's prose and HTML as string literals.
# Wrapping a paragraph at 120 columns would put line breaks inside sentences
# and inside tags, making the content harder to edit and diff for no gain —
# the output is HTML, where line length means nothing.
"scripts/docs_content.py" = ["E501"]
"scripts/build_docs.py" = ["E501"] # page chrome (nav, analytics tags) verbatim
"scripts/analytics_dashboard.py" = ["E501"] # self-contained private dashboard HTML/CSS template