Update script
This commit is contained in:
@@ -7,6 +7,7 @@ fi
|
|||||||
|
|
||||||
PROTO_PATH="$1"
|
PROTO_PATH="$1"
|
||||||
|
|
||||||
mkdir -p owocr/py_lens
|
mkdir tmp
|
||||||
protoc "--proto_path=$PROTO_PATH" --python_out=owocr/py_lens $PROTO_PATH/*.proto
|
protoc "--proto_path=$PROTO_PATH" --python_betterproto_out=tmp $PROTO_PATH/*.proto
|
||||||
sed -i '' "s/import lens_overlay/import owocr.py_lens.lens_overlay/" py_lens/*
|
mv tmp/lens/__init__.py owocr/lens_betterproto.py
|
||||||
|
rm -rf tmp
|
||||||
Reference in New Issue
Block a user