Skip to main content

Setuptools protobuf extension plugin

Project description

protobuf support for setuptools

Plugin for setuptools that adds support for compiling protobuf files.

Usage

You can configure setuptools-protobuf in either setup.py, setup.cfg or pyproject.toml.

setup.py

from setuptools_protobuf import Protobuf

setup(
...
    setup_requires=['setuptools-protobuf'],
    protobufs=[Protobuf('example/foo.proto')],
)

setup.cfg

...

[options]
setup_requires =
    setuptools
    setuptools-protobuf

pyproject.toml

[build-system]
requires = ["setuptools", "setuptools-protobuf"]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

setuptools-protobuf-0.1.0.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file setuptools-protobuf-0.1.0.tar.gz.

File metadata

  • Download URL: setuptools-protobuf-0.1.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for setuptools-protobuf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5e2526c6e6899373e273c33a5a3c7c9f0f6f63fe958b0b4a2e7779488f8d7cd9
MD5 5a85296d00238744e81f695a1d5c0830
BLAKE2b-256 67d45abc7f46eec45f442446d748b1a1015a956b1df82822d6f131903e6f37c5

See more details on using hashes here.

Supported by

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