-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
38 lines (32 loc) · 1.17 KB
/
pyproject.toml
File metadata and controls
38 lines (32 loc) · 1.17 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
[tool.poetry]
name = "boot-python"
version = "0.1.1-alpha"
description = "Prompt-provider plugin for boot-code (Python)."
authors = ["Bordumb <bordumbb@gmail.com>"]
readme = "README.md"
packages = [ { include = "boot_python" } ]
# Include runtime assets in the sdist + wheel
# NOTE: gRPC stubs must be committed and included in the package tree under boot_python/generated/
include = [
{ path = "boot_python/prompts/**", format = "wheel" },
{ path = "boot_python/prompts/**", format = "sdist" }
]
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
grpcio = "^1.74.0"
protobuf = "^4.25.0"
# tomllib is stdlib on 3.11+, backfill for 3.10 users
tomli = { version = "^2.0.1", python = "<3.11" }
[tool.poetry.group.dev.dependencies]
pytest = "^8.0.0"
# Use grpcio-tools locally only if you ever need to re-generate stubs
grpcio-tools = "^1.74.0"
[tool.poetry.scripts]
boot-python = "boot_python.main:main"
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
# IMPORTANT: Don’t leak a src/ path into runtime; keep tests isolated.
# Remove any pythonpath=["src"] entries to avoid reintroducing old import paths.
addopts = "-q"