Skip to content

Protobuf

During the initial build, Python protobuf files were created in python/glide-shared/glide_shared/protobuf. If modifications are made to the protobuf definition files (.proto files located in glide-core/src/protofuf), it becomes necessary to regenerate the Python protobuf files.

Protobuf files are automatically regenerated as part of the build process. If you only need to regenerate the protobuf files (e.g., after editing .proto files), you can use the standalone command the root python/ directory:

Terminal window
python3 dev.py protobuf

This generates .py and .pyi interface files for type checking and places them in the python/glide-shared/glide_shared/protobuf folder.