Leek/pyproject.toml
2025-06-06 04:05:56 +02:00

60 lines
1.1 KiB
TOML

[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "leek"
dynamic = ["version"]
authors = [{name = "Toast"}]
description = "Project diva megamix + mod manager"
license = "MIT"
classifiers = [
"Intended Audience :: End Users/Desktop",
"Topic :: Utilities",
"Programming Language :: Python",
"Operating System :: POSIX :: Linux",
]
dependencies = [
"pyside6",
"tomlkit",
"vdf",
]
requires-python = ">=3.12"
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.scripts]
leek = "leek.leek_app:main"
[tool.ruff.lint]
select = [
# Defaults
"E4",
"E7",
"E9",
"F",
"W", # Pycodestyle warning
"N" # Pep-8 naming
]
[tool.mypy]
mypy_path = "$MYPY_CONFIG_FILE_DIR/src"
# Pyside 6 doesn't have type info so it's better to just ignore it
[[tool.mypy.overrides]]
module = [
"PySide6.QtGui",
"PySide6.QtCore",
"PySide6.QtQml",
"vdf"
]
ignore_missing_imports = true
[tool.setuptools.data-files]
"share/applications" = ["xyz.toast003.leek.desktop"]
[tool.setuptools_scm]