do not use pip3 for installing cocotb
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 22 May 2021 19:30:58 +0000 (20:30 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 22 May 2021 19:30:58 +0000 (20:30 +0100)
cocotb-install

index 4a34adbd1527a11ba2e8bbe25d84d34ad79e2777..399cde37ff32a83c7aa3d1c413f80308fb5b91e2 100755 (executable)
@@ -5,7 +5,11 @@ if [ "$EUID" -ne 0 ]
 fi
 
 apt-get update -y
-apt-get install -y git python3 python3-dev g++ make python3-pip
+apt-get install -y git python3 python3-dev g++ make python3-pip \
+                       python3-setuptools
 
-pip3 install git+https://github.com/cocotb/cocotb@v1.5.2
+git clone https://github.com/cocotb/cocotb
+cd cocotb
+git checkout v1.5.2
+python3 setup.py install