-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
92 lines (83 loc) · 2.35 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "gpttrace"
description = "Generate eBPF programs and tracing with ChatGPT and natural language."
keywords = ["shell", "gpt", "openai", "cli", "productivity"]
readme = "README.md"
license = "MIT"
requires-python = ">=3.6"
authors = [{ name = "eunomia-bpf", email = "[email protected]" }]
dynamic = ["version"]
classifiers = [
"Operating System :: OS Independent",
"Topic :: Software Development",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"langchain>=0.0.227",
"llama_index>=0.7.3",
"marko>=2.0.0",
"openai>=0.27.8",
"prompt_toolkit>=3.0.38",
"Pygments>=2.15.1",
"pygments_markdown_lexer>=0.1.0.dev39",
"click>=8.1.4"
]
# Program entry function of gpttrace.
[project.scripts]
gpttrace = "gpttrace:main"
[project.urls]
homepage = "https://github.com/eunomia-bpf/GPTtrace"
repository = "https://github.com/eunomia-bpf/GPTtrace"
documentation = "https://github.com/eunomia-bpf/GPTtrace/blob/main/README.md"
[tool.hatch.version]
path = "gpttrace/__init__.py"
# Generate the .whl file, which is installed when the user use `pip install package`
[tool.hatch.build.targets.wheel]
only-include = [
"gpttrace",
"data_save",
]
# This will be uploaded to pypi.
[tool.hatch.build.targets.sdist]
only-include = [
"gpttrace",
"doc",
"data_save",
"README.md",
"LICENSE",
"pyproject.toml",
]
[tool.isort]
profile = "black"
skip = "__init__.py"
[tool.mypy]
strict = true
[tool.ruff]
select = [
"E", # pycodestyle errors.
"W", # pycodestyle warnings.
"F", # pyflakes.
"C", # flake8-comprehensions.
"B", # flake8-bugbear.
]
ignore = [
"E501", # line too long, handled by black.
"C901", # too complex.
"B008", # do not perform function calls in argument defaults.
]
[tool.codespell]
skip = '.git,venv'
# ignore-words-list = ''