-
Notifications
You must be signed in to change notification settings - Fork 29
/
pyproject.toml
62 lines (57 loc) · 1.43 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "memos"
version = "0.20.0"
description = "A package for memos"
readme = "README.md"
authors = [{ name = "arkohut" }]
license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
requires-python = ">=3.10"
dependencies = [
"fastapi",
"uvicorn",
"httpx",
"pydantic>=2.0",
"sqlalchemy>=2.0",
"typer>=0.13",
"magika",
"pydantic-settings>=2.6",
"opencv-python",
"pillow",
"piexif",
"imagehash",
"rapidocr_onnxruntime==1.4.0",
"rapidocr_openvino==1.3.26; sys_platform == 'win32'",
"py-cpuinfo",
"psutil",
"pywin32; sys_platform == 'win32'",
"pyobjc-core; sys_platform == 'darwin'",
"pyobjc-framework-Quartz; sys_platform == 'darwin'",
"ocrmac; sys_platform == 'darwin'",
"sentence-transformers",
"torch",
"numpy",
"timm",
"einops",
"modelscope",
"mss",
"sqlite_vec",
"watchdog",
]
[project.urls]
Homepage = "https://github.com/arkohut/pensieve"
[project.scripts]
memos = "memos.commands:app"
[tool.setuptools.packages.find]
include = ["memos*"]
[tool.setuptools.package-data]
"*" = ["static/**/*"]
"memos.plugins.ocr" = ["*.yaml", "models/*.onnx"]
"memos" = ["simple_tokenizer/**/*", "default_config.yaml"]