Added two utility scripts for working with PMAC motors
This commit is contained in:
21
utils/analyzeTcpDump/makevenv
Executable file
21
utils/analyzeTcpDump/makevenv
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
#-------------------------------------------------------------------------
|
||||
# Script which installs a virtual environment for PCAP file parsing
|
||||
#
|
||||
# Stefan Mathis, September 2024
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
# Remove any previous testing environment
|
||||
if [ -d "venv" ]; then
|
||||
rm -r venv
|
||||
fi
|
||||
|
||||
/usr/bin/python3.11 -m venv venv
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
pip install --upgrade pip
|
||||
pip install "scapy>=2.5,<3.0"
|
||||
|
||||
# Exit the virtual environment
|
||||
exit
|
Reference in New Issue
Block a user