-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (55 loc) · 1.18 KB
/
pyproject.toml
File metadata and controls
62 lines (55 loc) · 1.18 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
[build-system]
requires = ["hatchling>=1.27.0"]
build-backend = "hatchling.build"
[project]
name = "gpt-rag"
version = "0.1.0"
description = "Local-only personal RAG scaffold for macOS."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Proprietary" }
authors = [
{ name = "Personal project scaffold" },
]
dependencies = [
"beautifulsoup4>=4.12.3",
"fastapi>=0.116.1",
"lancedb>=0.29.2",
"lxml>=5.4.0",
"ollama>=0.6.1",
"platformdirs>=4.3.8",
"pydantic>=2.11.1",
"pydantic-settings>=2.8.1",
"pypdf>=5.4.0",
"rich>=14.0.0",
"typer>=0.16.0",
"uvicorn>=0.35.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3.5",
"pytest-mock>=3.14.0",
"ruff>=0.11.2",
]
reranker = [
"sentence-transformers>=5.3.0",
]
desktop = [
"pyinstaller>=6.15.0",
]
[project.scripts]
gpt-rag = "gpt_rag.cli:main"
rag = "gpt_rag.cli:main"
gpt-rag-api = "gpt_rag.gui_api:main"
gpt-rag-worker = "gpt_rag.gui_worker:main"
[tool.hatch.build.targets.wheel]
packages = ["src/gpt_rag"]
[tool.pytest.ini_options]
addopts = "-ra"
testpaths = ["tests"]
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP"]