diff --git a/docs/CHANNEL_PLUGIN_GUIDE.md b/docs/CHANNEL_PLUGIN_GUIDE.md index 65ff9eec..70087f33 100644 --- a/docs/CHANNEL_PLUGIN_GUIDE.md +++ b/docs/CHANNEL_PLUGIN_GUIDE.md @@ -141,8 +141,11 @@ dependencies = ["nanobot", "aiohttp"] webhook = "nanobot_channel_webhook:WebhookChannel" [build-system] -requires = ["setuptools"] -build-backend = "setuptools.backends._legacy:_Backend" +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["nanobot_channel_webhook"] ``` The key (`webhook`) becomes the config section name. The value points to your `BaseChannel` subclass.