Skip to main content

setuptools build_proto command

Project description

protobuf-setuptools

Setuptools protobuf plugin.

Adds command to generate python probobuf stubs from .proto files.

Usage

Install from PyPI and run

python setup.py build_proto

That will find all the .proto files in the provided packages, compile them with protoc and put resulting _pb2.py files near them.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page