Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
1 change: 1 addition & 0 deletions changelog/1356.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Migrate determining which packages to include in the built wheel and package from a static setup.py list to dynamic configured in pyproject.toml.
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ build = [
"twine~=5.1.1",
]

[tool.setuptools.packages.find]
where = ["."]
include = ["disnake*"]

[tool.nox]
script-venv-backend = "uv|virtualenv"

Expand Down
15 changes: 0 additions & 15 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,6 @@
except Exception:
pass

packages = [
"disnake",
"disnake.bin",
"disnake.types",
"disnake.ui",
"disnake.ui.select",
"disnake.webhook",
"disnake.interactions",
"disnake.ext.commands",
"disnake.ext.tasks",
"disnake.ext.mypy_plugin",
]

setup(
version=version,
packages=packages,
include_package_data=True,
)
Loading