-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (32 loc) · 829 Bytes
/
pyproject.toml
File metadata and controls
36 lines (32 loc) · 829 Bytes
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
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "kb-ai"
version = "0.1.0"
description = "Personal Knowledge Base AI System"
requires-python = ">=3.11"
dependencies = [
"pyyaml>=6.0",
"httpx>=0.27",
"markdown>=3.5",
"beautifulsoup4>=4.12",
"html2text>=2024.2",
"python-frontmatter>=1.1",
"flask>=3.0",
"whoosh>=2.7",
"click>=8.1",
"rich>=13.0",
"pdfplumber>=0.11",
"python-docx>=1.1",
]
[project.optional-dependencies]
openai = ["openai>=1.0"]
anthropic = ["anthropic>=0.30"]
api = ["openai>=1.0", "anthropic>=0.30"] # both API SDKs
all = ["openai>=1.0", "anthropic>=0.30"] # everything
[project.scripts]
kb = "src.cli:main"
kb-mcp = "src.mcp_server:main"
[tool.setuptools.packages.find]
include = ["src*"]