-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
91 lines (76 loc) · 1.92 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
[project]
name = "xontrib-chatgpt"
version = "0.2.2"
license = { file = "LICENSE" }
description = "Gives the ability to use ChatGPT directly from the command line"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: System :: Shells",
"Topic :: System :: System Shells",
"Topic :: Terminals",
]
requires-python = ">=3.9"
dependencies = [
"xonsh>=0.12.5",
"prompt_toolkit>=3.0.36",
"openai>=0.28.0, < 1",
"pygments>=2.16.1",
"tiktoken>=0.5.1",
]
authors = [{ name = "Justin Pallansch", email = "[email protected]" }]
[project.readme]
file = "README.md"
content-type = "text/markdown"
# [project.entry-points."xonsh.xontribs"]
# "chatgpt" = "xontrib.chatgpt"
[project.urls]
Homepage = "https://github.com/jpal91/xontrib-chatgpt"
Documentation = "https://github.com/jpal91/xontrib-chatgpt/blob/master/README.md"
Code = "https://github.com/jpal91/xontrib-chatgpt"
"Issue tracker" = "https://github.com/jpal91/xontrib-chatgpt/issues"
[project.optional-dependencies]
dev = ["pytest>=7.0", "pyyaml>=0.2.5"]
yaml = ["pyyaml>=0.2.5"]
[build-system]
requires = [
"setuptools>=62",
"wheel", # for bdist package distribution
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["xontrib", "xontrib_chatgpt"]
package-dir = { xontrib = "xontrib", xontrib_chatgpt = "xontrib_chatgpt" }
platforms = ["any"]
include-package-data = false
[tool.setuptools.package-data]
[tool.black]
include = '\.pyi?$'
force-exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.pytest_cache
| \.tox
| \.vscode
| \.venv
| _build
| buck-out
| build
| dist
| disk-cache.sqlite3
)/
'''
[tool.ruff.lint]
select = [
"E",
"F",
"B", # flake8-bugbear
"I", # isort
"UP", # pyupgrade
"SIM", # simplify
"TCH", # flake8-type-checking
"RUF", # ruff specific rules
]