-
Notifications
You must be signed in to change notification settings - Fork 364
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (31 loc) · 1.27 KB
/
Copy pathpyproject.toml
File metadata and controls
36 lines (31 loc) · 1.27 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
# Packaging metadata so the tool can be installed with `uv tool install` / `pipx`
# without a clone (#144). This is packaging only — the tool stays stdlib-only at
# runtime ([project.dependencies] is empty) and the clone + `python cli.py` path
# is unaffected.
#
# The version is read dynamically from scanner.VERSION so it stays a single
# source of truth (kept in lockstep with the CHANGELOG heading and the VS Code
# extension's package.json by tests/test_version.py) — do NOT hardcode it here.
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "claude-usage"
dynamic = ["version"]
description = "Token, cost, and session dashboard for Claude Code usage"
readme = "README.md"
requires-python = ">=3.8"
license = { text = "MIT" }
authors = [{ name = "Paweł Huryn" }]
keywords = ["claude", "claude-code", "usage", "tokens", "cost", "dashboard"]
dependencies = []
[project.urls]
Homepage = "https://github.com/phuryn/claude-usage"
Issues = "https://github.com/phuryn/claude-usage/issues"
[project.scripts]
claude-usage = "cli:main"
# Three top-level modules, no package directory — mirror the flat repo layout.
[tool.setuptools]
py-modules = ["cli", "scanner", "dashboard"]
[tool.setuptools.dynamic]
version = { attr = "scanner.VERSION" }