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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ac29d296a3f4bf5e01680ae0bc9b4a4a7a62e3fb63ceea6c0b415482b147e43 |
|
MD5 | 61f2107a778cc6eafe9484f8f6f5a94a |
|
BLAKE2b-256 | 793eb40c5f793fb02d6c76b381c7567ba150b838665d10d1cf9ba7dc0949fa4b |
File details
Details for the file setuptools_protobuf-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: setuptools_protobuf-0.1.2-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da8ba30d0827bcf9718fa0bf653cb8ad7acd69efbdb6124d725f6cdd84a497fd |
|
MD5 | 402867f4d31189e6bb8b2e63fc55bafd |
|
BLAKE2b-256 | 1b2d6df34c3d709d0c0d45626195ba5bface3fbf48ab73b19f651d5a23a41683 |