Skip to content

Commit

Permalink
debugging user deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Nov 23, 2018
1 parent 3dfc648 commit 6dd8cbb
Show file tree
Hide file tree
Showing 4 changed files with 425 additions and 392 deletions.
13 changes: 11 additions & 2 deletions pbx/generate-python.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
#!/bin/bash

# Generate python gRPC bindings for Tinode. A command line parameter v=XX will use specified python version,
# i.e. ./generate-python.sh v=3 will use python3.

for line in $@; do
eval "$line"
done

python="python${v}"

# This generates python gRPC bindings for Tinode.
python -m grpc_tools.protoc -I../pbx --python_out=../py_grpc/tinode_grpc --grpc_python_out=../py_grpc/tinode_grpc ../pbx/model.proto
$python -m grpc_tools.protoc -I../pbx --python_out=../py_grpc/tinode_grpc --grpc_python_out=../py_grpc/tinode_grpc ../pbx/model.proto
# Bindings are incompatible with Python packaging system. This is a fix.
python py_fix.py
$python py_fix.py
Loading

0 comments on commit 6dd8cbb

Please sign in to comment.