tinode-chat/build-py-grpc.sh
2022-02-17 18:02:49 -08:00

20 lines
338 B
Bash
Executable File

#!/bin/bash
echo "Packaging python tinode-grpc..."
pushd ./pbx > /dev/null
# Generate grpc bindings from the proto file.
./py-generate.sh v=3
pushd ../py_grpc > /dev/null
# Generate version file from git tags
python3 version.py
# Generate tinode-grpc package
python3 setup.py -q sdist bdist_wheel
popd > /dev/null
popd > /dev/null