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.1.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

setuptools_protobuf-0.1.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: setuptools-protobuf-0.1.1.tar.gz
  • Upload date:
  • Size: 7.8 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.1.tar.gz
Algorithm Hash digest
SHA256 03a75fb5c05ed3d0a10355bf305fc268d60bcefa4b8565703b7873ebacad640a
MD5 4a2fc1d3bff39cbdbba4d1958cad136e
BLAKE2b-256 83e8ebbcf42aad1536863c189532a50dde169a7621c5bcdf810ee0a7af89e6b2

See more details on using hashes here.

File details

Details for the file setuptools_protobuf-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for setuptools_protobuf-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33382bb6a19813ade712b17abacc92335a9a048c0dd89bc656e982cd253280ab
MD5 1137b020408a62e5922c2a21108d18bb
BLAKE2b-256 300cb6e793af31752ed02d346860156a482fa2f8f5436695f9e9acd9bc899b9a

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