From 4b87e21a6f4a620425f1d0e5430a344742c34a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Kr=C3=B6nner?= <41260142+LarsVomMars@users.noreply.github.com> Date: Fri, 17 Apr 2020 19:35:08 +0200 Subject: [PATCH] Update README.md --- plugins/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugins/README.md b/plugins/README.md index 093e510..be512ad 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -16,6 +16,16 @@ This `.run()` routine is called every time an alarm comes in Here are the information from BOSWatch available. See section `5. Process the data from BOSWatch` +#### 1.4 Requirements +Add all required (which need to be installed separately) python packages to a requirements.txt in the plugin directory so that the user can simply install all requirements for this plugin. + +For examples look at [the Telegram plugin](Telegram/requirements.txt) + +##### 1.4.1 Requirement installation +To install the packages from the requirements.txt run +`pip install -r /path/to/plugin/directory/requirements.txt` +Or because for the current version (2.5) Python2 is required +`pip2 install -r /path/to/plungin/directory/requirements.txt` will work for sure ## 2. Use Global Logging #### 2.1 Init and Use