Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=64", "wheel"]
requires = ["setuptools>=80", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -12,7 +12,6 @@ classifiers = [
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
Expand All @@ -24,6 +23,8 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Topic :: Communications :: Chat",
]
license = "GPL-3.0-only"
license-files = ["LICENSE", "redbot/**/*.LICENSE"]
dynamic = ["version", "requires-python", "dependencies", "optional-dependencies"]

[project.urls]
Expand All @@ -42,6 +43,9 @@ redbot-setup = "redbot.setup:run_cli"
[project.entry-points.pytest11]
red-discordbot = "redbot.pytest"

[tool.setuptools.packages.find]
include = ["redbot", "redbot.*"]

[tool.black]
line-length = 99
required-version = '23'
Expand Down
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,4 @@ def extras_combined(*extra_names):
# TODO: use [tool.setuptools.dynamic] table once this feature gets out of beta
install_requires=install_requires,
extras_require=extras_require,
# TODO: use [project] table once PEP 639 gets accepted
license_files=["LICENSE", "redbot/**/*.LICENSE"],
# TODO: use [tool.setuptools.packages] table once this feature gets out of beta
packages=find_namespace_packages(include=["redbot", "redbot.*"]),
)
Loading