diff --git a/README.md b/README.md index fe01a30..982016a 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ To make this script work, you need to do two things on the Pi: 1. Copy the `config.example.yml` file to a file named `config.yml`, and modify it with the email credentials for the account to be monitored. 2. Make sure Pip is installed: `sudo apt install -y python3-pip` - 3. Run `python3 -m pip install imapclient pyyaml` to install required dependencies. + 3. Run `pip3 install -r requirements.txt` to install required dependencies. Then run `./email_check.py`, and prepare to be amazed! Or not, especially if it doesn't work. diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..01b6255 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +imapclient +pyyaml >= 5.1