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"]
Metadata
Release files for setuptools-protobuf 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| setuptools-protobuf-0.1.0.tar.gz | 7.7 kB | Details |
Release files / setuptools-protobuf-0.1.0.tar.gz
| Download URL | setuptools-protobuf-0.1.0.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e2526c6e6899373e273c33a5a3c7c9f0f6f63fe958b0b4a2e7779488f8d7cd9
|
|
BLAKE2b-256 checksum How to use checksums |
67d45abc7f46eec45f442446d748b1a1015a956b1df82822d6f131903e6f37c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.7
|