mirror of
https://github.com/tinode/chat.git
synced 2025-03-14 10:05:07 +00:00
20 lines
338 B
Bash
Executable File
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
|