File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ build = [
104104 " twine~=5.1.1" ,
105105]
106106
107+ [tool .setuptools .packages .find ]
108+ where = [" ." ]
109+ include = [" disnake*" ]
110+
107111[tool .nox ]
108112script-venv-backend = " uv|virtualenv"
109113
Original file line number Diff line number Diff line change 3131 except Exception :
3232 pass
3333
34- packages = [
35- "disnake" ,
36- "disnake.bin" ,
37- "disnake.types" ,
38- "disnake.ui" ,
39- "disnake.ui.select" ,
40- "disnake.webhook" ,
41- "disnake.interactions" ,
42- "disnake.ext.commands" ,
43- "disnake.ext.tasks" ,
44- "disnake.ext.mypy_plugin" ,
45- ]
46-
4734setup (
4835 version = version ,
49- packages = packages ,
50- include_package_data = True ,
5136)
You can’t perform that action at this time.
0 commit comments