Compare commits

..

1 Commits

Author SHA1 Message Date
370b8c1974 Apply patch to package import
Some checks failed
continuous-integration/drone/push Build is failing
2022-10-29 10:47:36 -04:00

View File

@ -3,4 +3,4 @@
mkdir -p strafesnet mkdir -p strafesnet
cp *.proto strafesnet/ cp *.proto strafesnet/
python3 -m grpc_tools.protoc -I./strafesnet --python_out=./python-grpc/strafesnet --grpc_python_out=./python-grpc/strafesnet *.proto python3 -m grpc_tools.protoc -I./strafesnet --python_out=./python-grpc/strafesnet --grpc_python_out=./python-grpc/strafesnet *.proto
sed -i 's/^\(import.*pb2\)/from . \1/g' ./python-grpc/strafesnet/*.py sed -i 's/^\(import.*pb2\)/from . \1/g' strafesnet/*.py