[build-system]
requires = ["setuptools>=52.0"]
build-backend = "setuptools.build_meta"

[project]
name = "huepaper"
dynamic = ["version", "dependencies", "optional-dependencies"]
authors = [{ name = "Denis Lehmann" }]
maintainers = [{ name = "Profitroll" }]
description = "A colorful wallpaper generator"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "GPL3" }
classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Topic :: Software Development :: Libraries :: Python Modules",
    "Topic :: Utilities",
]

[project.urls]
Source = "https://git.end-play.xyz/profitroll/huepaper"
Tracker = "https://git.end-play.xyz/profitroll/huepaper/issues"

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

[tool.setuptools.dynamic]
version = { attr = "huepaper.__version__" }
dependencies = { file = "requirements/_.txt" }

[tool.setuptools.dynamic.optional-dependencies]
dev = { file = "requirements/dev.txt" }

[tool.setuptools.packages.find]
where = ["src"]

[tool.black]
target-version = ['py39', 'py310', 'py311', 'py312']

[tool.isort]
profile = "black"

[tool.pytest.ini_options]
minversion = "6.0"
python_files = ["test_*.py"]
pythonpath = "."
testpaths = ["tests"]

[tool.mypy]
namespace_packages = true
install_types = true
strict = true
show_error_codes = true

[tool.pylint.main]
py-version = 3.9

[tool.coverage.run]
source = ["huepaper"]