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
This commit is contained in:
Yof 2019-03-17 13:00:22 +01:00 committed by Jason Hu
parent 28c2dd4262
commit e9c657e941

View File

@ -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**.