-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
42 lines (37 loc) · 1.14 KB
/
Copy pathpyproject.toml
File metadata and controls
42 lines (37 loc) · 1.14 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "openaudible-py"
version = "0.1.0"
description = "Sync, de-DRM, convert and play your Audible library"
license = { file = "LICENSE" }
requires-python = ">=3.11,<3.13" # the audible library requires Python <3.13
dependencies = [
"audible>=0.10.0",
"audible-cli>=0.3.3",
"typer>=0.12",
"textual>=8.0",
"rich>=13",
"python-mpv>=1.0.7",
"mutagen>=1.47",
"playwright>=1.40",
"textual-image>=0.12",
"pillow>=10",
]
[project.optional-dependencies]
dev = ["pytest>=8", "pytest-asyncio>=0.23"]
# Local Whisper transcription. mlx-whisper runs on the Apple GPU/ANE (fastest
# on Apple Silicon); openai-whisper is the portable CPU/CUDA fallback.
transcribe = [
"mlx-whisper>=0.4; sys_platform == 'darwin' and platform_machine == 'arm64'",
"openai-whisper>=20231117; not (sys_platform == 'darwin' and platform_machine == 'arm64')",
]
[project.scripts]
openaudible = "openaudible.cli:app"
openaudible-tui = "openaudible.tui.app:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
pythonpath = ["src"]
asyncio_mode = "auto"