64 lines
1.5 KiB
TOML
64 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=77.0.3,<80.0.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "javelina"
|
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
description = "Discord bot that manages the server and provides an additional RESTful API"
|
|
readme = "README.md"
|
|
license = "AGPL-3.0"
|
|
license-files = ["LICENSE"]
|
|
requires-python = ">=3.11"
|
|
|
|
authors = [
|
|
{ name = "Profitroll", email = "profitroll@end-play.xyz" }
|
|
]
|
|
|
|
maintainers = [
|
|
{ name = "Profitroll", email = "profitroll@end-play.xyz" }
|
|
]
|
|
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
]
|
|
|
|
[project.scripts]
|
|
javelina-cli = "javelina.cli:main"
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = { attr = "javelina.__version__" }
|
|
dependencies = { file = "requirements/_.txt" }
|
|
|
|
[tool.setuptools.dynamic.optional-dependencies]
|
|
dev = { file = "requirements/dev.txt" }
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
javelina = ["resources/*", "locale/*"]
|
|
|
|
[tool.black]
|
|
line-length = 96
|
|
target-version = ["py311", "py312", "py313"]
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.mypy]
|
|
namespace_packages = true
|
|
install_types = true
|
|
strict = true
|
|
show_error_codes = true
|
|
|
|
[tool.pylint]
|
|
disable = ["line-too-long"]
|
|
|
|
[tool.pylint.main]
|
|
extension-pkg-whitelist = ["ujson"]
|
|
py-version = 3.11 |