imgtool: Use a requirements file for dependencies
Instead of relying on distro packages standardize the imgtool dependencies into a requirements.txt. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
6f2857c2a7
commit
f242901a85
|
@ -6,13 +6,9 @@ this script should be preferred to the manual steps described in
|
||||||
`doc/signed_images.md`.
|
`doc/signed_images.md`.
|
||||||
|
|
||||||
This program is written for Python3, and has several dependencies on
|
This program is written for Python3, and has several dependencies on
|
||||||
Python libraries. These can be installed using 'pip3' manually:
|
Python libraries. These can be installed using 'pip3':
|
||||||
|
|
||||||
pip3 install --user cryptography
|
pip3 install --user -r scripts/requirements.txt
|
||||||
|
|
||||||
or, on Ubuntu, using the package manager:
|
|
||||||
|
|
||||||
sudo apt-get install python3-cryptography
|
|
||||||
|
|
||||||
## Managing keys
|
## Managing keys
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
cryptography
|
Loading…
Reference in New Issue