-
Notifications
You must be signed in to change notification settings - Fork 981
Developer installation
Benjamin Samuels edited this page Feb 10, 2023
·
15 revisions
Use virtualenv to install a developer version of Slither (up-to-date with master
):
pip3 install virtualenvwrapper
source /usr/local/bin/virtualenvwrapper.sh
mkvirtualenv --python=`which python3` slither-dev
git clone https://github.com/trailofbits/slither
cd slither
pip install -e ".[dev]"
Start a shell with the Slither virtual environment by running:
workon slither-dev
Update Slither by running git pull
from the slither directory.
To debug Slither interactively, use the following entry point:
$VIRTUAL_ENV/bin/slither