commit | 5c58b7700f93a967152f1f45da0bbd473fe359be | [log] [tgz] |
---|---|---|
author | Borjan Tchakaloff <borjan@steadymonkey.eu> | Fri Feb 07 17:38:19 2020 +0100 |
committer | Borjan Tchakaloff <borjan@steadymonkey.eu> | Fri Feb 07 18:32:55 2020 +0100 |
tree | 14015df1d5bc976b21462ea60ab8c59babb640d7 | |
parent | 31c37e03a0254d69e9014eb9390cf048a1d53154 [diff] |
Drop the Wi-Fi networks configuration The feature is only supported on one Android version and is rendered useless by a pre-configured userdata image. Issue: INFRA-239 Change-Id: Id38c0eacdfc6e3e49f9952821554cfb8da6575c7
Deployment script to install and configure the SmartViser solution on devices.
Install the required dependencies in a virtual environment:
% python3 -mvenv venv % . ./venv/bin/activate (venv) % pip install -r requirements.txt
Follow instructions at https://gitlab.fairphone.software/fp/wiki/wikis/fp2/m/gms/sanity#prepare-a-device
Follow (and potentially adapt) instructions on how to run sanity check at https://gitlab.fairphone.software/fp/wiki/wikis/fp2/m/gms/sanity#run-the-sanity-check
Install the pre-commit
hook to setup the toolchain:
(venv) % pip install -r requirements-dev.txt (venv) % pre-commit install
The toolchain can be run independently of the hook. On the staged changes only:
(venv) % pre-commit run
Or on all files:
(venv) % pre-commit run --all-files
To keep things simple, and avoid installing extra software, this repository relies on standard Python tools (pip
and the venv
module).
The abstract dependencies are specified in setup.py
while the actual dependencies (i.e. the required and transitive dependencies) are pinned in dedicated requirements files. This ensures reproducibility.