/ pyproject.toml
pyproject.toml
1 # SPDX-FileCopyrightText: 2021 Jeff Epler 2 # 3 # SPDX-License-Identifier: MIT 4 5 [build-system] 6 requires = [ 7 "setuptools>=68.2.2", 8 "setuptools_scm[toml]>=6.0", 9 ] 10 build-backend = "setuptools.build_meta" 11 12 [tool.setuptools] 13 package-dir = {"" = "src"} 14 15 [tool.setuptools.packages.find] 16 where = ["src"] 17 18 [project] 19 name="chap" 20 authors = [{name = "Jeff Epler", email = "jepler@gmail.com"}] 21 description = "Interact with the OpenAI ChatGPT API (and other text generators)" 22 dynamic = ["readme","version","dependencies"] 23 requires-python = ">=3.9" 24 keywords = ["llm", "tui", "chatgpt"] 25 classifiers = [ 26 "Development Status :: 3 - Alpha", 27 "License :: OSI Approved :: MIT License", 28 "Operating System :: OS Independent", 29 "Programming Language :: Python :: 3", 30 "Programming Language :: Python :: 3.9", 31 "Programming Language :: Python :: 3.10", 32 "Programming Language :: Python :: 3.11", 33 "Programming Language :: Python :: 3.12", 34 "Programming Language :: Python :: Implementation :: CPython", 35 "Programming Language :: Python :: Implementation :: PyPy", 36 ] 37 [project.urls] 38 homepage = "https://github.com/jepler/chap" 39 repository = "https://github.com/jepler/chap" 40 41 [project.scripts] 42 chap = "chap.__main__:main" 43 44 [tool.setuptools_scm] 45 write_to = "src/chap/__version__.py" 46 [tool.setuptools.dynamic] 47 readme = {file = ["README.md"], content-type="text/markdown"} 48 dependencies = {file = "requirements.txt"} 49 [tool.setuptools.package-data] 50 "pkgname" = ["py.typed"] 51 [tool.mypy] 52 mypy_path = ["src"] 53 warn_unused_ignores = false 54 warn_redundant_casts = true 55 strict = true 56 packages = ["chap"]