Skip to content

Commit

Permalink
Merge pull request #2 from ptbrowne/requirements
Browse files Browse the repository at this point in the history
doc: use requirements.txt to install Python dependencies
  • Loading branch information
bomanimc committed Apr 1, 2018
2 parents 8a01c9a + 42c51cb commit 0b44a21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -30,7 +30,11 @@ After that, all you need to do is hook up the push buttons to the Raspberry Pi.

### Setting up the code

To get the code working, you can first clone our repository. We require a few dependencies: PIL, subprocess, and Flask. To get those working, just run `pip install dependency`.
To get the code working, you can first clone our repository. Next, you need to install Python dependencies :

```bash
pip install -r requirements.txt
```

To install matplotlib, run `sudo apt-get install libpulse-dev` and `sudo apt-get install python-dev` before attempting to install `matplotlib` with `sudo apt-get install python-matplotlib`, as instructed by [this Stack Overflow response](https://stackoverflow.com/questions/43613666/pip-install-matplotlib-fails-on-raspbian-jessie-4-4).

Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
@@ -0,0 +1,3 @@
flask
Pillow
pydub

0 comments on commit 0b44a21

Please sign in to comment.