Add more metadata to pyproject.toml

This commit is contained in:
Adam Goldsmith 2022-03-14 11:23:59 -04:00
parent 877d0426a3
commit 13cf739656
1 changed files with 26 additions and 11 deletions

View File

@ -1,3 +1,20 @@
[project]
name = "ArkhamDB_Discord_Bot"
version = "0.1.0"
description = ""
authors = [
{name = "Adam Goldsmith", email = "adam@adamgoldsmith.name"},
]
license-expression = "MIT"
dependencies = [
"discord.py>=1.7.3",
"aiohttp>=3.7.4.post0",
]
requires-python = ">=3.10"
[project.urls]
Homepage = "https://git.adamgoldsmith.name/adam/ahtcg_discord_bot"
[tool]
[tool.pdm]
[[tool.pdm.source]]
@ -10,18 +27,16 @@ format = [
"black~=22.1",
]
[project]
# PEP 621 project metadata
# See https://www.python.org/dev/peps/pep-0621/
requires-python = ">=3.10"
dependencies = [
"discord.py>=1.7.3",
"aiohttp>=3.7.4.post0",
]
[project.optional-dependencies]
[build-system]
requires = ["pdm-pep517"]
requires = ["pdm-pep517>=0.12.0"]
build-backend = "pdm.pep517.api"
[tool.black]
[tool.mypy]
disallow_untyped_defs = true
disallow_incomplete_defs = true
python_version = "3.10"
strict = true
show_error_codes = true
warn_unused_ignores = true