From 5eb452f72e73529991152ea48fb1ac250266d33c Mon Sep 17 00:00:00 2001 From: Roland Dobai Date: Fri, 7 Sep 2018 08:44:19 +0200 Subject: [PATCH] Add required Python packages On some systems pip and setuptools are no longer installed as dependencies of the python packages. This commit adds the requirement for these packages. --- docs/en/get-started-cmake/linux-setup-scratch.rst | 2 +- docs/en/get-started-cmake/linux-setup.rst | 2 +- docs/en/get-started/linux-setup-scratch.rst | 2 +- docs/en/get-started/linux-setup.rst | 2 +- docs/zh_CN/get-started/linux-setup-scratch.rst | 2 +- docs/zh_CN/get-started/linux-setup.rst | 2 +- requirements.txt | 4 ++++ 7 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/en/get-started-cmake/linux-setup-scratch.rst b/docs/en/get-started-cmake/linux-setup-scratch.rst index e1d2205d8..57f461afc 100644 --- a/docs/en/get-started-cmake/linux-setup-scratch.rst +++ b/docs/en/get-started-cmake/linux-setup-scratch.rst @@ -17,7 +17,7 @@ To compile with ESP-IDF you need to get the following packages: - Ubuntu and Debian:: - sudo apt-get install git wget libncurses-dev flex bison gperf python python-serial cmake ninja-build ccache + sudo apt-get install git wget libncurses-dev flex bison gperf python python-pip python-setuptools python-serial cmake ninja-build ccache - Arch:: diff --git a/docs/en/get-started-cmake/linux-setup.rst b/docs/en/get-started-cmake/linux-setup.rst index 8977a582b..07394ca55 100644 --- a/docs/en/get-started-cmake/linux-setup.rst +++ b/docs/en/get-started-cmake/linux-setup.rst @@ -15,7 +15,7 @@ To compile with ESP-IDF you need to get the following packages: - Ubuntu and Debian:: - sudo apt-get install git wget libncurses-dev flex bison gperf python python-serial cmake ninja-build ccache + sudo apt-get install git wget libncurses-dev flex bison gperf python python-pip python-setuptools python-serial cmake ninja-build ccache - Arch:: diff --git a/docs/en/get-started/linux-setup-scratch.rst b/docs/en/get-started/linux-setup-scratch.rst index 44644e1d5..72756852f 100644 --- a/docs/en/get-started/linux-setup-scratch.rst +++ b/docs/en/get-started/linux-setup-scratch.rst @@ -12,7 +12,7 @@ To compile with ESP-IDF you need to get the following packages: - Ubuntu and Debian:: - sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial + sudo apt-get install git wget make libncurses-dev flex bison gperf python python-pip python-setuptools python-serial - Arch:: diff --git a/docs/en/get-started/linux-setup.rst b/docs/en/get-started/linux-setup.rst index 123d3f29f..1cddf4284 100644 --- a/docs/en/get-started/linux-setup.rst +++ b/docs/en/get-started/linux-setup.rst @@ -14,7 +14,7 @@ To compile with ESP-IDF you need to get the following packages: - Ubuntu and Debian:: - sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-serial + sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-pip python-setuptools python-serial - Arch:: diff --git a/docs/zh_CN/get-started/linux-setup-scratch.rst b/docs/zh_CN/get-started/linux-setup-scratch.rst index 230858752..732a37e4e 100644 --- a/docs/zh_CN/get-started/linux-setup-scratch.rst +++ b/docs/zh_CN/get-started/linux-setup-scratch.rst @@ -12,7 +12,7 @@ - Ubuntu 和 Debian:: - sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial + sudo apt-get install git wget make libncurses-dev flex bison gperf python python-pip python-setuptools python-serial - Arch:: diff --git a/docs/zh_CN/get-started/linux-setup.rst b/docs/zh_CN/get-started/linux-setup.rst index 4a922ccac..28b4b3770 100644 --- a/docs/zh_CN/get-started/linux-setup.rst +++ b/docs/zh_CN/get-started/linux-setup.rst @@ -16,7 +16,7 @@ Linux 平台工具链的标准设置 - Ubuntu and Debian:: - sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-serial + sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-pip python-setuptools python-serial - Arch:: diff --git a/requirements.txt b/requirements.txt index 88cfc676a..d51dda473 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,9 @@ # This is a list of python packages needed for ESP-IDF. This file is used with pip. # Please see the Get Started section of the ESP-IDF Programming Guide for further information. # +setuptools +# The setuptools package is required to install source distributions and on some systems is not installed by default. +# Please keep it as the first item of this list. +# pyserial>=3.0 future>=0.16.0