Add python-future by using python requirements file

This commit is contained in:
Roland Dobai
2018-08-15 09:52:07 +02:00
parent 88d40e01b4
commit 62cad3a7d7
14 changed files with 113 additions and 16 deletions
+12
View File
@@ -136,6 +136,18 @@ Setup Path to ESP-IDF
The toolchain programs access ESP-IDF using ``IDF_PATH`` environment variable. This variable should be set up on your PC, otherwise projects will not build. Setting may be done manually, each time PC is restarted. Another option is to set up it permanently by defining ``IDF_PATH`` in user profile. To do so, follow instructions specific to :ref:`Windows <add-idf_path-to-profile-windows>` , :ref:`Linux and MacOS <add-idf_path-to-profile-linux-macos>` in section :doc:`add-idf_path-to-profile`.
.. _get-started-get-packages:
Install the Required Python Packages
====================================
Python packages required by ESP-IDF are located in the ``$IDF_PATH/requirements.txt`` file. You can install them by running::
sudo pip install -r $IDF_PATH/requirements.txt
or you can use the following command for installing them into the user install directory on systems where you don't have administrator rights::
pip install --user -r $IDF_PATH/requirements.txt
.. _get-started-start-project:
@@ -18,6 +18,11 @@ To compile with ESP-IDF you need to get the following packages:
sudo pacman -S --needed gcc git make ncurses flex bison gperf python2-pyserial
.. note::
Some older (pre-2014) Linux distributions may use ``pyserial`` version 2.x which is not supported by ESP-IDF.
In this case please install a supported version via ``pip`` as it is described in section
:ref:`get-started-get-packages`.
Compile the Toolchain from Source
=================================
+5
View File
@@ -21,6 +21,11 @@ To compile with ESP-IDF you need to get the following packages:
sudo pacman -S --needed gcc git make ncurses flex bison gperf python2-pyserial
.. note::
Some older (pre-2014) Linux distributions may use ``pyserial`` version 2.x which is not supported by ESP-IDF.
In this case please install a supported version via ``pip`` as it is described in section
:ref:`get-started-get-packages`.
Toolchain Setup
===============
+2 -3
View File
@@ -9,10 +9,9 @@ Install Prerequisites
sudo easy_install pip
- install pyserial::
sudo pip install pyserial
.. note::
``pip`` will be used later for installing :ref:`the required Python packages <get-started-get-packages>`.
Compile the Toolchain from Source
=================================
+2 -3
View File
@@ -10,10 +10,9 @@ Install Prerequisites
sudo easy_install pip
- install pyserial::
sudo pip install pyserial
.. note::
``pip`` will be used later for installing :ref:`the required Python packages <get-started-get-packages>`.
Toolchain Setup
===============