mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
build: run pb2py through sys.executable
* makes this actually work on Windows where pb2py isn't executable by itself * might prevent problems when installing python-trezor in Travis from git
This commit is contained in:
parent
87837bc305
commit
497c290c81
1
setup.py
1
setup.py
@ -68,6 +68,7 @@ class PrebuildCommand(Command):
|
||||
try:
|
||||
proto_srcs = glob.glob(os.path.join(TREZOR_COMMON, "protob", "*.proto"))
|
||||
subprocess.check_call([
|
||||
sys.executable,
|
||||
os.path.join(TREZOR_COMMON, "protob", "pb2py"),
|
||||
"-o", os.path.join(CWD, "trezorlib", "messages"),
|
||||
"-P", "..protobuf",
|
||||
|
Loading…
Reference in New Issue
Block a user