Replies: 1 comment 3 replies
-
You can use the include keyword if you want to do this as-is. But unfortunately that won't give you import-able python packages without the You can look at https://github.com/python-gnxi/python-gnmi-proto for an example how you could use betterproto to generate python code and then package it with Poetry. Note that the generation step is done outside of Poetry via the Makefile. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
About:
We use a repository to generate python files (.py and .pyi) from protobuf definitions. I want to package this repository into a poetry package. I am having trouble finding any relevant documentation outside of this https://github.com/orgs/python-poetry/discussions/10082.
which generates .pyi/.py files in the following structure (note that it does not create any init.py files
Desire:
Beta Was this translation helpful? Give feedback.
All reactions