[project]
name = "package"
description = "description"
authors = [{ name = "Name", email = "email@example.com" }]
readme = "README.rst"
classifiers = [
    "Development Status :: 2 - Pre-Alpha",
    "Environment :: Web Environment",
]
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
    "backports.zoneinfo; python_version<\"3.9\"",
    "tzdata; sys_platform == 'win32'",
]

[project.license]
text = "BSD-3-Clause"

[project.urls]
Homepage = "https://www.example.com/"
Documentation = "https://docs.example.com/"

[project.optional-dependencies]
argon2 = ["argon2-cffi >= 19.1.0"]

[project.scripts]
run = "project.__main__:main"

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = {find = {}}
include-package-data = true
zip-safe = false

[tool.setuptools.dynamic]
version = {attr = "project.__version__"}

[tool.distutils.bdist_rpm]
doc-files = "docs extras AUTHORS INSTALL LICENSE README.rst"
install-script = "scripts/rpm-install.sh"

[tool.flake8]
exclude = "build,.git,.tox,./tests/.env"
ignore = "W504"
max-line-length = "999"

[tool.isort]
default_section = "THIRDPARTY"
include_trailing_comma = true
line_length = 4
multi_line_output = 6
