diff --git a/README.md b/README.md index b94a007..a275946 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ class MyPlugin(Plugin): authors=["you"], description="An example python plugin.", dependencies=[], + permissions=[] ) def on_load(self, ctx: context.Context) -> None: diff --git a/example/main.py b/example/main.py index 141a4f3..3920644 100644 --- a/example/main.py +++ b/example/main.py @@ -22,6 +22,7 @@ class MyPlugin(Plugin): authors=["you"], description="An example python plugin.", dependencies=[], + permissions=[], ) def on_load(self, ctx: context.Context) -> None: diff --git a/pyproject.toml b/pyproject.toml index 8b59069..f185f10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ description = "Pumpkin plugin API for Python" authors = [{name = "alex"}] license = "GPL-3.0-only" dependencies = [ - "componentize-py>=0.22.1", + "componentize-py>=0.24.0", ] readme = "README.md" requires-python = ">=3.9" @@ -14,7 +14,7 @@ requires-python = ">=3.9" pumpkin-plugin-build = "pumpkin_api.build:main" [build-system] -requires = ["hatchling","componentize-py>=0.22.1"] +requires = ["hatchling","componentize-py>=0.24.0"] build-backend = "hatchling.build" [tool.hatch.build.targets.sdist] diff --git a/src/pumpkin_api/build.py b/src/pumpkin_api/build.py index 0edac47..9d9d2fa 100644 --- a/src/pumpkin_api/build.py +++ b/src/pumpkin_api/build.py @@ -60,6 +60,7 @@ def main(): import_interface_names=[], export_interface_names=[], full_names=False, + intersect_world=None, )