Last active
January 17, 2020 01:53
-
-
Save zclongpop123/39697465c1778722c7c54e0f0c426d22 to your computer and use it in GitHub Desktop.
google grpc bulild commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#======================================== | |
# author: Changlong.Zang | |
# mail: zclongpop123@163.com | |
# time: Thu Dec 12 16:17:24 2019 | |
#======================================== | |
from grpc.tools import protoc | |
#--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | |
def main(): | |
''' | |
''' | |
protoc.main( | |
( | |
'', | |
'-I.', | |
'--python_out=.', | |
'--grpc_python_out=.', | |
'./rpc_schema.proto', | |
) | |
) | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment