Skip to content

Commit c18ee6e

Browse files
committed
MVB FIFOX - Cocotb [MAINTENANCE]: add the prepare.sh script to setup the test environment
1 parent d45c4f2 commit c18ee6e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/bin/sh
2+
3+
ROOT_PATH=../../../../..
4+
5+
PKG_COCOTBEXT_OFM=$ROOT_PATH/python/cocotbext/
6+
7+
# Python virtual environment
8+
python -m venv venv-fifox
9+
source venv-fifox/bin/activate
10+
11+
python -m pip install setuptools
12+
python -m pip install $PKG_COCOTBEXT_OFM
13+
14+
echo ""
15+
echo "Now activate environment with:"
16+
echo "source venv-fifox/bin/activate"

0 commit comments

Comments
 (0)