LibBotUniversal/pyproject.toml

73 lines
2.0 KiB
TOML
Raw Normal View History

2023-05-15 00:37:50 +03:00
[build-system]
2023-08-06 20:11:16 +03:00
requires = ["setuptools>=62.6", "wheel"]
2023-05-15 00:37:50 +03:00
build-backend = "setuptools.build_meta"
[project]
name = "libbot"
2023-08-06 20:11:16 +03:00
dynamic = ["version", "dependencies", "optional-dependencies"]
2023-05-15 00:37:50 +03:00
authors = [{ name = "Profitroll" }]
description = "Universal bot library with functions needed for basic Discord/Telegram bot development."
readme = "README.md"
2024-12-18 15:16:37 +02:00
requires-python = ">=3.11"
2024-05-19 15:47:07 +03:00
license = { text = "GPLv3" }
2023-05-15 00:37:50 +03:00
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
2024-05-19 15:47:07 +03:00
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
2023-05-15 00:37:50 +03:00
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
2024-12-18 15:16:37 +02:00
"Programming Language :: Python :: 3.13",
2023-05-15 00:37:50 +03:00
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
2023-08-06 20:11:16 +03:00
[tool.setuptools.dynamic]
version = { attr = "libbot.__version__" }
dependencies = { file = "requirements/_.txt" }
[tool.setuptools.dynamic.optional-dependencies]
dev = { file = "requirements/dev.txt" }
pycord = { file = "requirements/pycord.txt" }
pyrogram = { file = "requirements/pyrogram.txt" }
speed = { file = "requirements/speed.txt" }
2023-05-15 00:37:50 +03:00
[project.urls]
Source = "https://git.end-play.xyz/profitroll/LibBotUniversal"
Documentation = "https://git.end-play.xyz/profitroll/LibBotUniversal/wiki"
Tracker = "https://git.end-play.xyz/profitroll/LibBotUniversal/issues"
2023-08-06 20:11:16 +03:00
[tool.setuptools.packages.find]
where = ["src"]
2023-05-15 00:37:50 +03:00
[tool.black]
2024-12-18 15:16:37 +02:00
line-length = 108
target-version = ["py311", "py312", "py313"]
2023-05-15 00:37:50 +03:00
[tool.isort]
profile = "black"
2023-08-06 03:07:07 +03:00
[tool.pytest.ini_options]
minversion = "6.0"
python_files = ["test_*.py"]
pythonpath = "."
testpaths = ["tests"]
2024-12-18 15:16:37 +02:00
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
2023-08-06 20:11:16 +03:00
[tool.mypy]
namespace_packages = true
install_types = true
strict = true
show_error_codes = true
2024-12-18 15:16:37 +02:00
[tool.pylint]
disable = ["line-too-long"]
2023-08-06 20:11:16 +03:00
[tool.pylint.main]
extension-pkg-whitelist = ["ujson"]
2024-12-18 15:16:37 +02:00
py-version = 3.11
2023-08-06 20:11:16 +03:00
[tool.coverage.run]
source = ["libbot"]