Namespaces | Functions | Variables
build.py File Reference

Go to the source code of this file.

Namespaces

 build
 

Functions

def build.add_test_import (str proto_package_path, str file_name, bool service=False)
 
None build.compile_protos (str proto_root, str sub_dir='.')
 
None build.create_init_file (str path, str package_path="")
 
bool build.has_grpc_service (str proto_package_path)
 
def build.main ()
 

Variables

list build.COMPILE_BOTH = COMPILE_PROTO_ONLY + ['--grpc_python_out={}'.format(OUTPUT_PATH)]
 
list build.COMPILE_PROTO_ONLY
 
list build.EXCLUDE_PROTO_PACKAGES_LIST
 
 build.GOOGLEAPIS_ROOT = os.path.join(GRPC_ROOT, 'third_party', 'googleapis')
 
 build.GRPC_ROOT = os.path.abspath(os.path.join(WORK_DIR, '..', '..', '..', '..'))
 
list build.NAMESPACE_PACKAGES = ["google"]
 
 build.OPENCENSUS_PROTO_ROOT
 
 build.OPENTELEMETRY_PROTO_ROOT
 
 build.OUTPUT_PATH = WORK_DIR
 
string build.PKGUTIL_STYLE_INIT = "__path__ = __import__('pkgutil').extend_path(__path__, __name__)\n"
 
string build.TEST_FILE_NAME = 'generated_file_import_test.py'
 
list build.TEST_IMPORTS = []
 
 build.UDPA_PROTO_ROOT = os.path.join(GRPC_ROOT, 'third_party', 'udpa')
 
 build.VALIDATE_ROOT = os.path.join(GRPC_ROOT, 'third_party', 'protoc-gen-validate')
 
 build.WELL_KNOWN_PROTOS_INCLUDE
 
 build.WORK_DIR = os.path.dirname(os.path.abspath(__file__))
 
 build.XDS_PROTO_ROOT = os.path.join(GRPC_ROOT, 'third_party', 'envoy-api')
 


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:05