-
Notifications
You must be signed in to change notification settings - Fork 47
/
pyproject.toml
62 lines (57 loc) · 1.45 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.23.2"
description = "A package for Pensieve (previously known as memos)"
readme = "README.pypi.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",
"rapidocr_openvino; 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"]