Fix import paths
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy
2020-08-10 14:44:59 +02:00
parent 361bec2846
commit 5f1f88106c
6 changed files with 16 additions and 5 deletions

7
makefile Normal file
View File

@ -0,0 +1,7 @@
default: rewrite
rewrite:
@sed -i 's/import hrpc_pb2 as hrpc__pb2/from . import hrpc_pb2 as hrpc__pb2/g' hyperspace_rpc/*.py && \
sed -i 's/import schema_pb2 as schema__pb2/from . import schema_pb2 as schema__pb2/g' hyperspace_rpc/*.py
.PHONY: rewrite