diff --git a/examples/basic_bot.py b/examples/basic_bot.py index 5bfa438..dd88aca 100644 --- a/examples/basic_bot.py +++ b/examples/basic_bot.py @@ -1,3 +1,6 @@ +# Copyright (c) Paillat-dev +# SPDX-License-Identifier: MIT + """Basic Discord bot example using Pycord REST. This is a minimal example showing how to create slash commands. diff --git a/examples/button_example.py b/examples/button_example.py index 741d64a..db0a1b1 100644 --- a/examples/button_example.py +++ b/examples/button_example.py @@ -1,3 +1,6 @@ +# Copyright (c) Paillat-dev +# SPDX-License-Identifier: MIT + """Example demonstrating how to use buttons with Pycord REST.""" import os diff --git a/examples/modal_example.py b/examples/modal_example.py index aaa4dcf..cf4239f 100644 --- a/examples/modal_example.py +++ b/examples/modal_example.py @@ -1,3 +1,6 @@ +# Copyright (c) Paillat-dev +# SPDX-License-Identifier: MIT + """Example showing how to work with modals in Pycord REST.""" import asyncio diff --git a/pyproject.toml b/pyproject.toml index 496906b..1e5d7de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,16 +49,18 @@ source_archive = "https://github.com/Paillat-dev/pycord-rest/archive/{commit_has name = "pycord-rest-bot" [tool.hatch.build] -packages = ["src/pycord_rest"] +include = [ + "src/pycord_rest/", +] exclude = [ ".copywrite.hcl", ".github", ".python-version", "uv.lock", ] -include = [ - "src/pycord_rest/", -] + +[tool.hatch.build.targets.wheel] +packages = ["src/pycord_rest"] [tool.pyright] pythonVersion = "3.12"