matejcik
04326749f4
build: generate protobuf messages in tempdir
...
This way, if the process fails, the files in trezorlib/messages remain
untouched. This is important because "setup.py build" now runs the
build_protobuf tool, and it can easily fail on a system without protoc.
2018-04-10 15:58:34 +02:00
matejcik
ae0cb0478e
build: use trezor-common from submodule
2018-04-10 15:58:34 +02:00
matejcik
e7a01b827b
build_protobuf: fix paths for protoc
2018-03-15 19:55:06 +01:00
matejcik
2375a8f516
fix merge conflicts with updated python-trezor
2018-03-15 19:28:34 +01:00
Pavol Rusnak
c78c548752
protobuf: delete old messages first
2018-01-12 13:10:36 +01:00
Pavol Rusnak
694bc7ac11
protobuf: don't generate storage protobuf
2018-01-12 13:06:43 +01:00
Pavol Rusnak
8f6b2449be
sort imports in pb2py
2018-01-12 12:58:39 +01:00
Pavol Rusnak
78d2c07d34
regenerate pb messages
2018-01-12 12:54:06 +01:00
Saleem Rashid
bbed79f658
build_protobuf: Refactor
...
* Use `set -e` to fail on error
* Change into script directory automatically
2017-12-24 12:16:24 +00:00
Saleem Rashid
ff5999162a
pb2py: Add pb2/ to sys.path
...
This removes the need for sed (which was problematic on OS X as it ships
with BSD Sed instead of GNU Sed)
2017-12-24 12:04:36 +00:00
Saleem Rashid
fd5f232fdd
pb2py: Refactor
2017-12-24 11:51:13 +00:00
slush
a27217811b
Rework from Google's protobuf to pure-python protobuf implementation
2017-12-17 02:19:16 +01:00