Restore register.py script removed in 5ace0dd892

This is intended to be an example of using the protocol from something
other than C++ and to be a building block for future test clients.
This commit is contained in:
Gavin Bisesi 2015-09-03 09:13:31 -04:00
parent f4ae08f8b1
commit ebc4011559
2 changed files with 83 additions and 0 deletions

10
servatrice/scripts/mk_pypb.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/bash
SRC_DIR=../../common/pb/
DST_DIR=./pypb
rm -rf "$DST_DIR"
mkdir -p "$DST_DIR"
protoc -I=$SRC_DIR --python_out=$DST_DIR $SRC_DIR/*.proto
touch "$DST_DIR/__init__.py"