⚠️ This module is now legacy: The same functionality is now in python-proton-network-manager module, version0.9.0
and upwards.
The proton-vpn-killswitch-networ-managerwireguard
component is the implementation of the proton-vpn-killswitch
interface adapted for Wireguard.
Even though our CI pipelines always test and build releases using Linux distribution packages, you can use pip to set up your development environment.
If you didn't do it yet, you'll need to set up our internal package registry. Here you have the documentation on how to do that.
This component depends on the PyGObject package. To be able to pip install PyGObject, please check the required distribution packages in the official documentation.
You can create the virtual environment and install the rest of dependencies as follows:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
You can run the tests with:
pytest