-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (47 loc) · 1.21 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.pdm]
version = { source = "file", path = "chatgpt_cli/__version__.py" }
[tool.pdm.dev-dependencies]
dev = [
"ipython>=8.11.0",
"notebook>=6.5.2",
"ruff>=0.0.254",
"black>=23.1.0",
"pre-commit>=3.1.1",
"python-semantic-release>=7.33.2",
]
[project]
name = "chatgpt-api-cli"
dynamic = ["version"]
description = "A CLI wrapper for OpenAI's ChatGPT API"
readme = "README.md"
authors = [
{name = "Aumit Leon", email = "[email protected]"},
]
dependencies = [
"openai>=0.27.0",
"typer[all]>=0.7.0",
"pydantic[dotenv]>=1.10.5",
"rich>=12.6.0",
]
requires-python = ">=3.11"
license = {text = "MIT"}
urls = { repository = "https://github.com/AumitLeon/chatgpt-cli" }
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[tool.pdm.build]
includes = [
"chatgpt_cli/",
"README.md",
]
[project.scripts]
chatgpt = "chatgpt_cli.main:main"
[tool.semantic_release]
version_variable = "chatgpt_cli/__version__.py:__version__"
version_source = "tag"
branch = "main"
build_command = "pdm build"
[tool.pdm.scripts]
shell = "ipython"
publish_release = "pdm run semantic-release publish -v DEBUG"
commit_release_artifacts = {shell = "./tools/commit_release_artifacts.sh"}