From dd2b19c24bb0c34eed2d98f1a4d790227cfe53b3 Mon Sep 17 00:00:00 2001 From: kamilburda <8431034+kamilburda@users.noreply.github.com> Date: Sat, 24 Feb 2024 17:28:38 +0100 Subject: [PATCH] Update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d1f1d0e..47de357 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,6 @@ You can access GIMP PDB procedure information ([`Gimp.Procedure`](https://develo ### Registering plug-in procedures -Import the `wrappers/procedure.py` module and call `procedure.register_procedure()` to register a single PDB procedure. See the [`generate-pdb-stubs` module](generate-pdb-stubs/generate-pdb-stubs.py#L51) for an example. - -At the end of your main Python module, call `procedure.main()`. +1. Copy the `wrappers/procedure.py` module to your plug-in directory. +2. Within the main file of your plug-in (a Python script with same name as its parent directory) import the `procedure` module and call `procedure.register_procedure()` to register a single PDB procedure. See the [`generate-pdb-stubs` module](generate-pdb-stubs/generate-pdb-stubs.py#L51) for an example. +3. At the end of your main Python module, call `procedure.main()`.