blob: b176017ac3c8a2979800d79461e2e0e72cd74a25 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Trezor
## Messages rebuild
Install `protoc` for your distribution. Requirements:
- `protobuf-compiler`
- `libprotobuf-dev`
- `python`
Soft requirement: Python 3, can be easily installed with [pyenv].
### Python 2
Workaround if there is no Python3 available:
```bash
pip install backports.tempfile
```
### Regenerate messages
```bash
cd src/device_trezor/trezor
python tools/build_protob.py
```
The messages regeneration is done also automatically via cmake.
[pyenv]: https://github.com/pyenv/pyenv
|