1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-09 06:50:58 +00:00

build: use python2 for messages_map.py

This commit is contained in:
Pavol Rusnak 2017-09-29 20:48:26 +02:00
parent b6d53acefc
commit 8a6dd3c764
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
4 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,6 @@ addons:
- protobuf-compiler - protobuf-compiler
- libprotobuf-dev - libprotobuf-dev
- python-protobuf - python-protobuf
- python3-protobuf
env: env:
global: global:

View File

@ -9,4 +9,4 @@ RUN apt-get update
# install build tools and dependencies # install build tools and dependencies
RUN apt-get install -y build-essential git python python-ecdsa gcc-arm-none-eabi RUN apt-get install -y build-essential git python python-ecdsa gcc-arm-none-eabi
RUN apt-get install -y protobuf-compiler libprotobuf-dev python-protobuf python3-protobuf RUN apt-get install -y protobuf-compiler libprotobuf-dev python-protobuf

View File

@ -2,5 +2,6 @@
*_pb2.py *_pb2.py
*.pb.c *.pb.c
*.pb.h *.pb.h
*.pyc
messages_map.h messages_map.h
__pycache__/ __pycache__/

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3 #!/usr/bin/env python2
from collections import defaultdict from collections import defaultdict
from messages_pb2 import MessageType from messages_pb2 import MessageType
from types_pb2 import wire_in, wire_out, wire_debug_in, wire_debug_out, wire_tiny, wire_bootloader from types_pb2 import wire_in, wire_out, wire_debug_in, wire_debug_out, wire_tiny, wire_bootloader