1- [build-system ]
2- requires = [" setuptools>=64" , " wheel" ]
3- build-backend = " setuptools.build_meta"
1+ [tool .poetry ]
2+ name = " red-discordbot"
43
5- [project ]
6- name = " Red-DiscordBot"
7- description = " A highly customisable Discord bot"
4+ # This is bumped automatically by release workflow (`.github/workflows/scripts/bump_version.py`)
5+ version = " 3.5.13.dev9+g43c411e"
6+ description = " A highly customizable Discord bot"
7+ authors = [" Cog Creators" ]
88readme = " README.md"
9- authors = [{ name = " Cog Creators " }]
9+ license = " GPL-3.0-only "
1010classifiers = [
11- " Development Status :: 5 - Production/Stable" ,
12- " Framework :: AsyncIO" ,
13- " Intended Audience :: Developers" ,
14- " Intended Audience :: End Users/Desktop" ,
15- " License :: OSI Approved :: GNU General Public License v3 (GPLv3)" ,
16- " Natural Language :: English" ,
17- " Operating System :: MacOS :: MacOS X" ,
18- " Operating System :: Microsoft :: Windows" ,
19- " Operating System :: POSIX :: Linux" ,
20- " Programming Language :: Python :: 3 :: Only" ,
21- " Programming Language :: Python :: 3.8" ,
22- " Programming Language :: Python :: 3.9" ,
23- " Programming Language :: Python :: 3.10" ,
24- " Programming Language :: Python :: 3.11" ,
25- " Topic :: Communications :: Chat" ,
11+ " Development Status :: 5 - Production/Stable" ,
12+ " Framework :: AsyncIO" ,
13+ " Intended Audience :: Developers" ,
14+ " Intended Audience :: End Users/Desktop" ,
15+ " License :: OSI Approved :: GNU General Public License v3 (GPLv3)" ,
16+ " Natural Language :: English" ,
17+ " Operating System :: MacOS :: MacOS X" ,
18+ " Operating System :: Microsoft :: Windows" ,
19+ " Operating System :: POSIX :: Linux" ,
20+ " Programming Language :: Python :: 3 :: Only" ,
21+ " Programming Language :: Python :: 3.8" ,
22+ " Programming Language :: Python :: 3.9" ,
23+ " Programming Language :: Python :: 3.10" ,
24+ " Programming Language :: Python :: 3.11" ,
25+ " Topic :: Communications :: Chat" ,
26+ ]
27+ packages = [{ include = " redbot" }]
28+ include = [
29+ " LICENSE" ,
30+ " redbot/**/*.LICENSE" ,
31+ " redbot/**/locales/*.po" ,
32+ " redbot/**/data/*" ,
33+ " redbot/**/*.export" ,
34+ " redbot/py.typed" ,
2635]
27- dynamic = [" version" , " requires-python" , " dependencies" , " optional-dependencies" ]
2836
29- [project .urls ]
37+ [tool . poetry .urls ]
3038"Homepage" = " https://github.com/Cog-Creators/Red-DiscordBot"
3139"Discord Server" = " https://discord.gg/red"
3240"Documentation" = " https://docs.discord.red"
@@ -35,13 +43,62 @@ dynamic = ["version", "requires-python", "dependencies", "optional-dependencies"
3543"Source Code" = " https://github.com/Cog-Creators/Red-DiscordBot"
3644"Changelog" = " https://docs.discord.red/en/stable/changelog.html"
3745
38- [project .scripts ]
46+ [tool .poetry .dependencies ]
47+ python = " >= 3.8.1, < 3.12"
48+ aiohttp = " ^3.10.9"
49+ aiohttp-json-rpc = " ^0.13.3"
50+ apsw = " ^3.46.1.0"
51+ babel = " ^2.16.0"
52+ brotli = " ^1.1.0"
53+ click = " ^8.1.7"
54+ discord-py = " ^2.4.0"
55+ markdown = " ^3.7"
56+ orjson = " ^3.10.7"
57+ packaging = " ^24.1"
58+ platformdirs = " ^4.3.6"
59+ psutil = " ^6.0.0"
60+ python-dateutil = " ^2.9.0.post0"
61+ pyyaml = " ^6.0.2"
62+ rapidfuzz = " ^3.8"
63+ red-commons = " ^1.0.0"
64+ red-lavalink = " ^0.11.0"
65+ rich = " ^13.9.2"
66+ schema = " ^0.7.7"
67+ typing-extensions = " ^4.12.2"
68+ yarl = " ^1.13.1"
69+ uvloop = { version = " ^0.20.0" , markers = " sys_platform != 'win32' and platform_python_implementation == 'CPython'" }
70+ distro = { version = " ^1.9.0" , markers = " sys_platform == 'linux'" }
71+ asyncpg = { version = " ^0.29.0" , optional = true }
72+
73+ [tool .poetry .group .dev .dependencies ]
74+ sphinx = " *"
75+ sphinx-prompt = " *"
76+ sphinx-rtd-theme = " ^3.0.0"
77+ sphinxcontrib-trio = " ^1.1.2"
78+ pytest = " ^8.3.3"
79+ tox = " ^4.21.2"
80+ pytest-asyncio = " 0.21.2"
81+ pytest-mock = " ^3.14.0"
82+ black = " ^23.12.1"
83+ asyncpg = " ^0.29.0"
84+
85+ [tool .poetry .extras ]
86+ postgres = [" asyncpg" ]
87+
88+ [tool .poetry .scripts ]
3989redbot = " redbot.__main__:main"
4090redbot-setup = " redbot.setup:run_cli"
4191
42- [project . entry-points .pytest11 ]
92+ [tool . poetry . plugins .pytest11 ]
4393red-discordbot = " redbot.pytest"
4494
95+ [tool .poetry-git-version-plugin ]
96+ alpha_version_format = " {version}.dev{distance}+g{commit_hash}"
97+
98+ [build-system ]
99+ requires = [" poetry-core" ]
100+ build-backend = " poetry.core.masonry.api"
101+
45102[tool .black ]
46103line-length = 99
47104required-version = ' 23'
@@ -53,5 +110,6 @@ force-exclude = '''
53110)/
54111'''
55112
113+
56114[tool .pytest .ini_options ]
57115asyncio_mode = ' auto'
0 commit comments