From afb1c4fe00b69aab8044dd05a2a9ce0b38d40ee5 Mon Sep 17 00:00:00 2001 From: AUTOMATIC1111 <16777216c@gmail.com> Date: Tue, 1 Nov 2022 14:54:41 +0300 Subject: [PATCH] Updated Developing extensions (markdown) --- Developing-extensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Developing-extensions.md b/Developing-extensions.md index 32acc54..a5e874e 100644 --- a/Developing-extensions.md +++ b/Developing-extensions.md @@ -12,7 +12,7 @@ Web ui interacts with installed extensions in the following way: For how to develop custom scripts, which usually will do most of extension's work, see [Developing custom scripts](Developing-custom-scripts). ## install.py -`install.py` is the script that is launched by the `launch.py`, the launcher, in a separate process before webui starts, and it's meant to install dependencies of the extension. The script is launched with `PYTHONPATH` environment variable set to webui's path, so you can just `import launch` and use its functionality: +`install.py` is the script that is launched by the `launch.py`, the launcher, in a separate process before webui starts, and it's meant to install dependencies of the extension. It must be located in the root directory of the extension, not in the scripts directory. The script is launched with `PYTHONPATH` environment variable set to webui's path, so you can just `import launch` and use its functionality: ```python import launch