From e9c657e941a3a5071e237dad8176f1ca7708d652 Mon Sep 17 00:00:00 2001 From: Yof Date: Sun, 17 Mar 2019 13:00:22 +0100 Subject: [PATCH] Dev 0.91 needs some extra tox dependencies to run (#200) * Dev 0.89 needs some extra tox dependencies to run This is based on an issue as seen here https://github.com/home-assistant/home-assistant/issues/22068. * Update development-environment.md based on C.R. Included the changes needed to run on Windows and Mac. The extra command for OS X is not tested (I am not able to work with OS X). * Update development_environment.md --- docs/development_environment.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/development_environment.md b/docs/development_environment.md index 5693f7f3..5ce87a67 100644 --- a/docs/development_environment.md +++ b/docs/development_environment.md @@ -18,6 +18,7 @@ In order to run `script/setup` below you will need some more dependencies. ```bash $ sudo apt-get install autoconf libssl-dev libxml2-dev libxslt1-dev libjpeg-dev libffi-dev libudev-dev zlib1g-dev +$ sudo apt-get install -y libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev ``` > Different distributions have different package installation mechanisms and sometimes packages names as well. For example CentOS would use: `sudo yum install epel-release && sudo yum install python36 python36-devel mysql-devel gcc` @@ -42,6 +43,7 @@ When the Linux subsystem is set up, perform install as for Linux. $ sudo apt-get update $ sudo apt-get install python3-pip python3-dev python3-venv $ sudo apt-get install autoconf libssl-dev libxml2-dev libxslt1-dev libjpeg-dev libffi-dev libudev-dev zlib1g-dev +$ sudo apt-get install -y libavformat-dev libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev libavresample-dev libavfilter-dev ``` Hint: Git is included in Linux subsytem. @@ -61,6 +63,12 @@ Install [Homebrew](https://brew.sh/), then use that to install Python 3: $ brew install python3 autoconf ``` +Then install ffmpeg: + +```bash +$ brew install ffmpeg +``` + ## Setup Local Repository Visit the [Home Assistant repository](https://github.com/home-assistant/home-assistant) and click **Fork**.