-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
32 lines (28 loc) · 927 Bytes
/
pyproject.toml
File metadata and controls
32 lines (28 loc) · 927 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
30
31
32
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "lib-inspector"
version = "0.2.0"
description = "A CLI tool to inspect Python libraries and generate Markdown documentation."
license = "MIT"
authors = [{name = "Joe Hoye Dow", email = "[email protected]"}]
readme = "README.md"
requires-python = ">=3.7"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"typer",
"networkx",
]
[project.urls]
Repository = "https://github.com/MaybeBio/LibInspector"
[project.scripts]
# 这里定义了命令行工具的名称 'lib-inspector' 指向 src.cli 模块中的 main 函数
lib-inspector = "src.cli:main"
[tool.setuptools.packages.find]
where = ["."] # 告诉 setuptools 源代码在当前目录(包含 src)