diff options
Diffstat (limited to 'docs/extensions.md')
-rw-r--r-- | docs/extensions.md | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/extensions.md b/docs/extensions.md index 6d4998d..4b3689a 100644 --- a/docs/extensions.md +++ b/docs/extensions.md @@ -117,13 +117,11 @@ are reserved for the ExtensionManager. Unless you know exactly what you are doin touch any of these variables. ## Installing dependencies -There are two ways you can install dependencies. If you need very fine-grained control over how -extension looks like before it can be run, you can supply a `setup.py` script, which is run -separately before your extension is started. An example of such a script can be found in the example -extension `examples/numpysetup`. -If you only want to install dependencies, you can also include a standard Python `requirements.txt` +If you want to install dependencies, you can include a standard Python `requirements.txt` file in your extension folder. **Note that this file is pip installed _once_.** After the initial pip install, a new file called `requirements.txt.installed` is created in the extensions folder. To run the install again, this file simply has to be deleted. **Be careful to remove this file, when distributing your extension in a .zip file.** + +Otherwise you can do any setup you need in your extension's initialization code. |