Keun Soo Yim | 1420155 | 2016-05-13 09:15:12 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | # if "from future import standard_library" fails, please install future: |
| 4 | # $ sudo apt-get install python-pip |
| 5 | # $ sudo pip install future |
Keun Soo Yim | 072337b | 2016-05-13 15:58:26 -0700 | [diff] [blame] | 6 | # $ sudo pip install futures |
| 7 | # $ sudo pip install enum |
| 8 | # $ sudo pip install concurrent |
Keun Soo Yim | 8e07a09 | 2016-05-04 16:30:35 -0700 | [diff] [blame] | 9 | # $ sudo pip install protobuf |
Keun Soo Yim | 97b1d21 | 2016-05-25 13:15:58 -0700 | [diff] [blame] | 10 | # for protoc, please install protoc by: |
| 11 | # $ apt-get install protobuf-compiler |
Keun Soo Yim | 1420155 | 2016-05-13 09:15:12 -0700 | [diff] [blame] | 12 | |
Keun Soo Yim | 1420155 | 2016-05-13 09:15:12 -0700 | [diff] [blame] | 13 | python -m compileall . |
Keun Soo Yim | d455988 | 2016-05-13 20:03:12 -0700 | [diff] [blame] | 14 | |
Keun Soo Yim | 078b177 | 2016-06-28 16:36:18 -0700 | [diff] [blame] | 15 | protoc -I=proto --python_out=proto proto/AndroidSystemControlMessage.proto |
| 16 | protoc -I=proto --python_out=proto proto/InterfaceSpecificationMessage.proto |