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-09-21 01:11:13 +03:00
|
|
|
requires-python = ">=3.9"
|
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.9",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"Programming Language :: Python :: 3.11",
|
2024-09-21 01:11:13 +03:00
|
|
|
"Programming Language :: Python :: 3.12",
|
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-09-21 01:11:13 +03:00
|
|
|
target-version = ['py39', 'py310', 'py311' ,'py312']
|
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"]
|
2023-08-06 20:11:16 +03:00
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
namespace_packages = true
|
|
|
|
install_types = true
|
|
|
|
strict = true
|
|
|
|
show_error_codes = true
|
|
|
|
|
|
|
|
[tool.pylint.main]
|
|
|
|
extension-pkg-whitelist = ["ujson"]
|
2024-09-21 01:11:13 +03:00
|
|
|
py-version = 3.9
|
2023-08-06 20:11:16 +03:00
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
source = ["libbot"]
|