⚠️ 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-network-manager
component is the implementation of the proton-vpn-killswitch
interface
using Network Manager.
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.
The component proton-vpn-network-manager
, which is a direct dependency of this component, requires installing quite
a few distribution packages. You can find more information on its own
readme file.
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