From 2fed6665b03033ec60b73d3fcbc812866c6c8293 Mon Sep 17 00:00:00 2001 From: devsjc <47188100+devsjc@users.noreply.github.com> Date: Wed, 1 Apr 2026 10:48:54 +0100 Subject: [PATCH] feat(sdk): Add std python sdk --- Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index dc777d2..d34ac90 100644 --- a/Makefile +++ b/Makefile @@ -161,19 +161,15 @@ export GEN_PYPROJ gen.proto.python: ${PROTOC} @echo "Generating Python client bindings..." @rm -rf gen/python && mkdir -p gen/python/src/dp_sdk - @uvx --from 'betterproto[compiler]==2.0.0b7' ${PROTOC} \ - proto/ocf/dp/*.proto \ - -I=proto \ - -I=$(PROTOC_INCLUDE) \ - --python_betterproto_opt=typing.310 \ - --python_betterproto_out=gen/python/src/dp_sdk - @uvx --from 'grpcio-tools==1.80.0' python-grpc-tools-protoc \ - proto/ocf/dp/*.proto \ + @uvx --from 'grpcio-tools==1.80.0' --with 'betterproto[compiler]==2.0.0b7' python-grpc-tools-protoc \ + $$(find proto -iname "*.proto") \ -I=proto \ -I=$(PROTOC_INCLUDE) \ --python_out=gen/python/src/dp_sdk \ --pyi_out=gen/python/src/dp_sdk \ --grpc_python_out=gen/python/src/dp_sdk + --python_betterproto_opt=typing.310 \ + --python_betterproto_out=gen/python/src/dp_sdk @touch gen/python/src/dp_sdk/py.typed @echo "$$GEN_PYPROJ" > gen/python/pyproject.toml @echo "Building wheel..."