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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: setuptools-protobuf-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 7ac29d296a3f4bf5e01680ae0bc9b4a4a7a62e3fb63ceea6c0b415482b147e43
MD5 61f2107a778cc6eafe9484f8f6f5a94a
BLAKE2b-256 793eb40c5f793fb02d6c76b381c7567ba150b838665d10d1cf9ba7dc0949fa4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for setuptools_protobuf-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da8ba30d0827bcf9718fa0bf653cb8ad7acd69efbdb6124d725f6cdd84a497fd
MD5 402867f4d31189e6bb8b2e63fc55bafd
BLAKE2b-256 1b2d6df34c3d709d0c0d45626195ba5bface3fbf48ab73b19f651d5a23a41683

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