-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
87 lines (75 loc) · 2.15 KB
/
pyproject.toml
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "memoria-search"
readme = "README.md"
# license = {file = "LICENSE"}
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Typing :: Typed",
]
dependencies = [
"aiofiles~=23.2.1",
"aiohttp~=3.9.5",
"aiosqlite~=0.20.0",
"beautifulsoup4~=4.12.3",
"elasticsearch[async]~=8.13.1",
"fasthx~=0.2403.1",
"fastapi~=0.111.0",
"humanize~=4.9.0",
"pydantic-settings~=2.2.1",
"python-magic~=0.4.27",
"SQLAlchemy[asyncio]~=2.0.30"
]
dynamic = ["version", "description", "authors"]
[project.urls]
Repository = "https://github.com/Sidneys1/Memoria"
"Bug Tracker" = "https://github.com/Sidneys1/Memoria/issues"
[project.entry-points.memoria]
AiohttpDownloader = "memoria.plugins.builtin.aiohttp_downloader:AiohttpDownloader"
HtmlContentFinder = "memoria.plugins.builtin.html_content_finder:HtmlContentFinder"
HtmlExtractor = "memoria.plugins.builtin.html_extractor:HtmlExtractor"
[project.optional-dependencies]
dev = [
"hatch",
"fastapi-cli",
"isort",
"mypy",
"types-aiofiles",
"types-beautifulsoup4",
]
uvicorn = [
"uvicorn",
]
[tool.yapf]
"COLUMN_LIMIT" = 120
[tool.hatch]
[tool.hatch.version]
path = "src/memoria/__about__.py"
[tool.hatch.metadata.hooks.custom]
[tool.hatch.build.targets.sdist]
exclude = [
"/.vscode/",
"/.editorconfig",
"/.github/",
]
[tool.hatch.build.targets.wheel]
packages = ["src/memoria"]
exclude = [
"/.vscode/",
"/.editorconfig",
"/Containerfile",
]
[tool.hatch.build.targets.wheel.force-include]
"./src/memoria/web/www/templates/index.css" = "./src/memoria/web/www/templates/index.css"
"./src/memoria/web/www/templates/settings.css" = "./src/memoria/web/www/templates/settings.css"
"./src/memoria/web/www/static/styles.css" = "./src/memoria/web/www/static/styles.css"
[tool.isort]
line_length = 120
ensure_newline_before_comments = true