-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
54 lines (45 loc) · 1.12 KB
/
pyproject.toml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tool.poetry]
name = "nuclei-plus-server"
version = "1.0.0" # 实际根据 version.py 决定
description = "nuclei-plus辅助服务"
authors = ["G3G4X5X6 <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
packages = [
{ include = "server" },
{ include = "main.py" },
{ include = "version.py" },
]
include = [
{ path = "README.md", format = [
"sdist",
"wheel",
] },
{ path = "LICENSE", format = [
"sdist",
"wheel",
] },
{ path = "config.default.yaml", format = [
"sdist",
"wheel",
] },
]
[tool.poetry.dependencies]
python = "^3.11.9"
fastapi = "^0.112.0"
uvicorn = "^0.30.5"
langchain = "^0.2.12"
langchain-openai = "^0.1.20"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
poetry-dynamic-versioning = "^1.4.0"
[tool.poetry-dynamic-versioning]
enable = true
[tool.poetry-dynamic-versioning.from-file]
source = "version.py"
pattern = "__version__ = \"(.*)\""
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
nuclei-plus-server = 'main:main'