2018-11-04 10:01:10 +01:00
|
|
|
build:
|
2019-03-27 23:43:15 +01:00
|
|
|
rm types/v2/* -rf
|
|
|
|
touch types/v2/__init__.py
|
2019-06-23 04:38:21 +02:00
|
|
|
cd types/v2/ && protoc --python_out=. -I ../../../../../../types/v2/proto/ ../../../../../../types/v2/proto/*.proto
|
2019-03-27 23:43:15 +01:00
|
|
|
sed -e 's/^import\ \(.*\)_pb2\ /from . import\ \1_pb2\ /g' -i types/v2/*.py
|