Skip to content

A simple protoc plugin to copy and expand python project files.

License

Notifications You must be signed in to change notification settings

CQCL/protoc-gen-pyproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protoc-gen-pyproject

A basic protoc plugin to generate a pyproject file for generated code.

Example usage with buf

version: v1
managed:
  enabled: true
plugins:
  - name: python_betterproto
    out: gen/python/quantinuumapis/quantinuumapis
    strategy: all # Required to prevent duplicate file generation
    opt:
      - --proto3-optional
  - name: pyproject
    out: gen/python/quantinuumapis
    strategy: all # Required to prevent duplicate file generation
    opt:
      - gen_pyproject=templates/pyproject.toml.template

About

A simple protoc plugin to copy and expand python project files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages