-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (80 loc) · 2.41 KB
/
pyproject.toml
File metadata and controls
89 lines (80 loc) · 2.41 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "supervertaler-assistant"
version = "0.1.0"
description = "Supervertaler Assistant – a cross-platform AI assistant for professional translators, with a memory bank of clients, terminology, domains and style"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "Michael Beijer" },
]
keywords = [
"translation",
"memory-bank",
"knowledge-base",
"obsidian",
"llm",
"terminology",
"supervertaler",
"assistant",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: X11 Applications :: Qt",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Text Processing :: Linguistic",
]
dependencies = [
"PyQt6>=6.6",
"litellm>=1.40",
"python-frontmatter>=1.0",
"watchdog>=4.0", # inbox auto-refresh
"markdown-it-py>=3.0", # chat rendering
"platformdirs>=4.0", # cross-platform settings path
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-qt>=4.4",
"ruff>=0.5",
"mypy>=1.10",
]
distill = [
# Optional extras for the Distill agent (TMX/DOCX/PDF ingestion)
"lxml>=5.0", # TMX
"python-docx>=1.1", # DOCX
"pypdf>=4.0", # PDF
]
[project.scripts]
supervertaler-assistant = "supervertaler_assistant.ui.main_window:main"
[project.urls]
Homepage = "https://github.com/Supervertaler/supervertaler-assistant"
Issues = "https://github.com/Supervertaler/supervertaler-assistant/issues"
Supervertaler = "https://supervertaler.com"
[tool.setuptools.packages.find]
include = ["supervertaler_assistant*"]
[tool.setuptools.package-data]
supervertaler_assistant = ["templates/*.md"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "SIM"]
ignore = ["E501"] # line length enforced by formatter
[tool.mypy]
python_version = "3.11"
strict = false
warn_unused_configs = true
warn_return_any = true