From c18ee6e104849abcc9886f109a2835edfc3640c5 Mon Sep 17 00:00:00 2001 From: Daniel Kondys Date: Wed, 30 Oct 2024 17:12:53 +0100 Subject: [PATCH] MVB FIFOX - Cocotb [MAINTENANCE]: add the prepare.sh script to setup the test environment --- comp/mvb_tools/storage/fifox/cocotb/prepare.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 comp/mvb_tools/storage/fifox/cocotb/prepare.sh diff --git a/comp/mvb_tools/storage/fifox/cocotb/prepare.sh b/comp/mvb_tools/storage/fifox/cocotb/prepare.sh new file mode 100755 index 000000000..84dd1a860 --- /dev/null +++ b/comp/mvb_tools/storage/fifox/cocotb/prepare.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +ROOT_PATH=../../../../.. + +PKG_COCOTBEXT_OFM=$ROOT_PATH/python/cocotbext/ + +# Python virtual environment +python -m venv venv-fifox +source venv-fifox/bin/activate + +python -m pip install setuptools +python -m pip install $PKG_COCOTBEXT_OFM + +echo "" +echo "Now activate environment with:" +echo "source venv-fifox/bin/activate"