commit | 3b177a466cd9d59c1648d4d83dffad987f22e801 | [log] [tgz] |
---|---|---|
author | Borjan Tchakaloff <borjan@steadymonkey.eu> | Wed Feb 19 11:05:38 2020 +0100 |
committer | Borjan Tchakaloff <borjan@steadymonkey.eu> | Wed Feb 19 11:05:38 2020 +0100 |
tree | a48c440af02e3735c83d7069aaea08f435d490b0 | |
parent | 275978cc9425ae4b6d841c926b4bb61b57be8e3a [diff] |
Wait for log-in completion when installing the suite Issue: INFRA-242 Change-Id: Ie8716a2f9ecb2104d49b3be0a29e2f38c7871c6b
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.