forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (99 loc) · 3.04 KB
/
Copy pathpyproject.toml
File metadata and controls
110 lines (99 loc) · 3.04 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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[build-system]
requires = ["setuptools>=64.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "omi-cli"
# Single source of truth is ``omi_cli.__version__`` (see [tool.setuptools.dynamic]
# below). ``omi --version`` and the client User-Agent read that same attribute,
# so the published wheel and the runtime can never disagree again.
dynamic = ["version"]
description = "Command-line interface for Omi — talk to memories, conversations, action items, and goals from your terminal."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [
{ name = "Omi Community", email = "support@omi.me" },
]
keywords = [
"omi",
"cli",
"agent",
"memory",
"wearable",
"ai",
"conversational-ai",
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
dependencies = [
"click>=8.1,<9.0",
# Typer 0.26 vendors Click, while omi-cli extends the external Click API.
"typer>=0.12,<0.26",
"rich>=13.7,<15.0",
"httpx>=0.27,<1.0",
"tenacity>=8.2,<10.0",
"pydantic>=2.5,<3.0",
"tomli>=2.0; python_version < '3.11'",
"tomli-w>=1.0,<2.0",
]
[project.urls]
Homepage = "https://www.omi.me/"
Repository = "https://github.com/BasedHardware/omi"
Documentation = "https://docs.omi.me"
Issues = "https://github.com/BasedHardware/omi/issues"
[project.scripts]
# Wire the console script through ``main()`` (not the bare Typer ``app``) so
# the SIGINT/EOF + last-resort exception handlers in main.py run for every
# invocation. Going through ``app`` directly would leak raw tracebacks on
# unexpected errors and emit Click's default Ctrl-C string.
omi = "omi_cli.main:main"
[project.optional-dependencies]
dev = [
"pytest>=8.0,<9.0",
"pytest-cov>=5.0,<7.0",
"respx>=0.21,<1.0",
"black>=24.0,<26.0",
"isort>=5.13,<7.0",
"mypy>=1.8,<2.0",
"build>=1.0,<2.0",
"twine>=5.0,<7.0",
]
[tool.setuptools.dynamic]
# Resolve the package version from omi_cli/__init__.py:__version__ at build
# time — keeps the wheel/PyPI version and the runtime ``omi --version`` in
# lockstep from one literal.
version = { attr = "omi_cli.__version__" }
[tool.setuptools.packages.find]
where = ["."]
include = ["omi_cli*"]
[tool.setuptools.package-data]
omi_cli = ["py.typed"]
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ["py310"]
[tool.isort]
profile = "black"
line_length = 120
multi_line_output = 3
[tool.mypy]
python_version = "3.10"
strict = true
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
addopts = "-q --strict-markers"