-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
29 lines (24 loc) · 955 Bytes
/
Copy pathpyproject.toml
File metadata and controls
29 lines (24 loc) · 955 Bytes
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
[build-system]
requires = ["setuptools>=64"]
build-backend = "setuptools.build_meta"
[project]
name = "light-programmer"
dynamic = ["version"]
description = "Ecosystem-agnostic smart home lighting automation using Matter protocol"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8"
[project.optional-dependencies]
mcp = ["mcp>=1.0"]
[project.scripts]
light-programmer = "light_programmer.programmer:main"
light-genconfig = "light_programmer.genconfig:main"
light-programmer-mcp = "light_programmer.mcp_server:main"
[tool.setuptools.dynamic]
version = {attr = "light_programmer.__version__"}
# Resolving the dynamic version requires the build backend to run package
# discovery; the repo's flat layout has a second top-level dir (tests_local/)
# that modern setuptools (>=61) refuses to auto-include ambiguously, so pin
# the distribution to the package explicitly.
[tool.setuptools.packages.find]
include = ["light_programmer*"]