- Python 3.6 or better
setuptools
(included in the Python distribution)pip
(included in the Python distribution)venv
(included in the Python distribution)
-
Create a new virtualenv with
python -m venv env
-
Activate the virtualenv with
source env/bin/activate
-
Install the package in editable mode
pip install --editable .
From the virtualenv:
pip install flake8
flake8
From the virtualenv:
pip install mypy
env/bin/mypy --ignore-missing-imports -p network_destruction
From the virtualenv:
python -m network_destruction