protobuf: Add workaround for imports in generated files
This commit is contained in:
parent
66679c8a8e
commit
ce8a99be20
1 changed files with 5 additions and 0 deletions
5
protobuf/__init__.py
Normal file
5
protobuf/__init__.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
# https://github.com/protocolbuffers/protobuf/issues/1491
|
||||
# https://github.com/protocolbuffers/protobuf/issues/1491#issuecomment-547504972
|
||||
import sys
|
||||
from pathlib import Path
|
||||
sys.path.append(str(Path(__file__).parent))
|
Loading…
Add table
Add a link
Reference in a new issue