Compare commits

..

1 Commits

Author SHA1 Message Date
4d9280bea2 Apply patch to package import
All checks were successful
continuous-integration/drone/push Build is passing
2022-10-29 10:48: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' strafesnet/*.py sed -i 's/^\(import.*pb2\)/from . \1/g' ./python-grpc/strafesnet/*.py