Lowers minimum Python requirement from 3.11 to 3.10 to increase compatibility while updating CI to use Python 3.13 for testing. Extracts hybrid command functionality into a separate module to improve code organization and reduce complexity in the main commands module. Updates test timeouts and dependency versions to ensure reliable test execution and modern package compatibility.
57 lines
1.5 KiB
TOML
57 lines
1.5 KiB
TOML
[project]
|
|
name = "disagreement"
|
|
version = "0.1.0rc1"
|
|
description = "A Python library for the Discord API."
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = {text = "BSD 3-Clause"}
|
|
authors = [
|
|
{name = "Slipstream", email = "me@slipstreamm.dev"}
|
|
]
|
|
keywords = ["discord", "api", "bot", "async", "aiohttp"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: BSD License",
|
|
"Operating System :: OS Independent",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Topic :: Software Development :: Libraries",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: Internet",
|
|
]
|
|
|
|
dependencies = [
|
|
"aiohttp>=3.9.0,<4.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=1.0.0",
|
|
"hypothesis>=6.132.0",
|
|
]
|
|
dev = [
|
|
"python-dotenv>=1.0.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/Slipstreamm/disagreement"
|
|
Issues = "https://github.com/Slipstreamm/disagreement/issues"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
# Optional: for linting/formatting, e.g., Ruff
|
|
# [tool.ruff]
|
|
# line-length = 88
|
|
# select = ["E", "W", "F", "I", "UP", "C4", "B"] # Example rule set
|
|
# ignore = []
|
|
|
|
# [tool.ruff.format]
|
|
# quote-style = "double"
|