updated grpcio-tools installation to specifically specify binary requirement and updated doc
This commit is contained in:
parent
68ff7a86c8
commit
5a35431bcb
2 changed files with 7 additions and 3 deletions
|
@ -236,7 +236,7 @@ Specifically leveraging 1.27.2 to avoid compatibility issues with older versions
|
||||||
of pip pulling down binary files.
|
of pip pulling down binary files.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
python3 -m pip install --user grpcio==1.27.2 grpcio-tools==1.27.2
|
python3 -m pip install --only-binary ":all:" --user grpcio-tools
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build and Install
|
### Build and Install
|
||||||
|
|
|
@ -11,6 +11,10 @@ function install_python_depencencies() {
|
||||||
sudo python3 -m pip install -r daemon/requirements.txt
|
sudo python3 -m pip install -r daemon/requirements.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function install_grpcio_tools() {
|
||||||
|
python3 -m pip install --only-binary ":all:" --user grpcio-tools
|
||||||
|
}
|
||||||
|
|
||||||
function install_ospf_mdr() {
|
function install_ospf_mdr() {
|
||||||
rm -rf /tmp/ospf-mdr
|
rm -rf /tmp/ospf-mdr
|
||||||
git clone https://github.com/USNavalResearchLaboratory/ospf-mdr /tmp/ospf-mdr
|
git clone https://github.com/USNavalResearchLaboratory/ospf-mdr /tmp/ospf-mdr
|
||||||
|
@ -86,7 +90,7 @@ if [ -z "${reinstall}" ]; then
|
||||||
echo "installing core system dependencies"
|
echo "installing core system dependencies"
|
||||||
sudo apt install -y automake pkg-config gcc libev-dev ebtables iproute2 \
|
sudo apt install -y automake pkg-config gcc libev-dev ebtables iproute2 \
|
||||||
python${ubuntu_py} python${ubuntu_py}-dev python3-pip python3-tk tk libtk-img ethtool autoconf
|
python${ubuntu_py} python${ubuntu_py}-dev python3-pip python3-tk tk libtk-img ethtool autoconf
|
||||||
python3 -m pip install --user grpcio==1.27.2 grpcio-tools==1.27.2
|
install_grpcio_tools
|
||||||
echo "installing ospf-mdr system dependencies"
|
echo "installing ospf-mdr system dependencies"
|
||||||
sudo apt install -y libtool gawk libreadline-dev
|
sudo apt install -y libtool gawk libreadline-dev
|
||||||
install_ospf_mdr
|
install_ospf_mdr
|
||||||
|
@ -108,7 +112,7 @@ if [ -z "${reinstall}" ]; then
|
||||||
echo "installing core system dependencies"
|
echo "installing core system dependencies"
|
||||||
sudo yum install -y automake pkgconf-pkg-config gcc gcc-c++ libev-devel iptables-ebtables iproute \
|
sudo yum install -y automake pkgconf-pkg-config gcc gcc-c++ libev-devel iptables-ebtables iproute \
|
||||||
python${centos_py} python${centos_py}-devel python3-pip python3-tkinter tk ethtool autoconf
|
python${centos_py} python${centos_py}-devel python3-pip python3-tkinter tk ethtool autoconf
|
||||||
python3 -m pip install --user grpcio==1.27.2 grpcio-tools==1.27.2
|
install_grpcio_tools
|
||||||
echo "installing ospf-mdr system dependencies"
|
echo "installing ospf-mdr system dependencies"
|
||||||
sudo yum install -y libtool gawk readline-devel
|
sudo yum install -y libtool gawk readline-devel
|
||||||
install_ospf_mdr
|
install_ospf_mdr
|
||||||
|
|
Loading…
Reference in a new issue