aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael-west <michael.west@ettus.com>2020-09-28 10:09:18 -0700
committerAaron Rossetto <aaron.rossetto@ni.com>2020-10-06 15:21:03 -0500
commitb3c627f6f45381641c7448de74a82d5000dcc919 (patch)
tree8b920cf18b9c9c9170e02cf4c3bf82bc50b9f94e
parent34733e473ee8364f328dd39b82af6a8e29c56d07 (diff)
downloaduhd-b3c627f6f45381641c7448de74a82d5000dcc919.tar.gz
uhd-b3c627f6f45381641c7448de74a82d5000dcc919.tar.bz2
uhd-b3c627f6f45381641c7448de74a82d5000dcc919.zip
Docs: Update Python3 dependencies
Signed-off-by: michael-west <michael.west@ettus.com>
-rw-r--r--host/docs/build.dox.in21
1 files changed, 12 insertions, 9 deletions
diff --git a/host/docs/build.dox.in b/host/docs/build.dox.in
index c296cd0ce..46ca8e57e 100644
--- a/host/docs/build.dox.in
+++ b/host/docs/build.dox.in
@@ -72,19 +72,22 @@ The directory to which you extract libusb must not contain spaces. This is to sa
- The Python path needs to be added to the environment variables.
- Install fundamental packages for Python: On Windows Terminal, navigate to Python scripts folder, e.g. `C:\local\Python37\Scripts`, and execute the following commands to install requests and numpy packages, respectively:
- pip install requests
- pip install numpy
+ pip3 install requests
+ pip3 install numpy
+ pip3 install ruamel.yaml
+ pip3 install six
+ pip3 install setuptools
- For curses package installation:
- Download URL: https://www.lfd.uci.edu/~gohlke/pythonlibs/
- Download a package that is similar to the Python version, Windows System, and system processor and copy it to Python scripts folder. For example, for Python 3.7, 64-bit Windows, and x64-based processor, download the `curses-2.2-cp37-cp37m-win_amd64.whl`.
- Install the package dependency, wheel package:
- pip install wheel
+ pip3 install wheel
- Install the curses package and include it to Python scripts:
- python -m pip install curses-2.2-cp37-cp37m-win_amd64.whl
+ python3 -m pip3 install curses-2.2-cp37-cp37m-win_amd64.whl
### Mako
@@ -92,9 +95,9 @@ The directory to which you extract libusb must not contain spaces. This is to sa
- **Minimum Version:** @PY_MAKO_MIN_VERSION@
- **Usage:** build time (required)
- **Download URL:** http://www.makotemplates.org/download.html
-- **Alternative method:** You can use `pip` or `easy_install` to install Mako from PyPi. To install it using 'pip' on Windows, navigate to Python scripts folder, e.g. `C:\local\Python37\Scripts`, and run the following command:
+- **Alternative method:** You can use `pip3` or `easy_install` to install Mako from PyPi. To install it using 'pip3' on Windows, navigate to Python scripts folder, e.g. `C:\local\Python37\Scripts`, and run the following command:
- pip install mako
+ pip3 install mako
### Doxygen
@@ -123,7 +126,7 @@ or install msysGit from http://code.google.com/p/msysgit/downloads/list.
You can install all the dependencies through the package manager:
- sudo apt-get install libboost-all-dev libusb-1.0-0-dev python-mako doxygen python-docutils cmake build-essential
+ sudo apt-get install libboost-all-dev libusb-1.0-0-dev doxygen python3-docutils python3-mako python3-numpy python3-requests python3-ruamel.yaml python3-setuptools cmake build-essential
Your actual command may differ.
@@ -131,11 +134,11 @@ Your actual command may differ.
You can install all the dependencies through the package manager:
- sudo yum -y install boost-devel libusb1-devel python-mako doxygen python-docutils cmake make gcc gcc-c++
+ sudo yum -y install boost-devel libusb1-devel doxygen python3-docutils python3-mako python3-numpy python3-requests python3-ruamel.yaml python3-setuptools cmake make gcc gcc-c++
or
- sudo dnf -y install boost-devel libusb1-devel python-mako doxygen python-docutils cmake make gcc gcc-c++
+ sudo dnf -y install boost-devel libusb1-devel doxygen python3-docutils python3-mako python3-numpy python3-requests python3-ruamel.yaml python3-setuptools cmake make gcc gcc-c++
Your actual command may differ.