-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
38 lines (33 loc) · 1.01 KB
/
pyproject.toml
File metadata and controls
38 lines (33 loc) · 1.01 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "aicodestat"
version = "0.0.1"
description = "A local-first metrics tool that analyzes how you use AI coding assistants."
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"fastapi>=0.104.0",
"uvicorn[standard]>=0.24.0",
"pydantic>=2.0.0",
"rich>=13.0.0",
"questionary>=2.0.0",
"httpx>=0.25.0",
"mcp>=1.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
]
[project.scripts]
code-stat = "main:main"
local-mcp-server = "local_mcp_server:main"
code-stat-cli = "cli.main:main"
code-stat-mcp = "mcp_stdio_server:main"
[tool.setuptools]
# 显式指定要打包的包(排除 specs、tests 等构建/测试目录)
packages = ["cli", "compute", "mcp", "storage", "utils"]
# 顶层的单文件模块(作为脚本入口依赖)也一并打包
py-modules = ["main", "local_mcp_server", "config", "logging_config", "service_manager"]