Lines Matching +full:python +full:- +full:version
6 # Requires: protobuf, python-protobuf, pyinstaller
8 set -e
9 set -x
11 VERSION=`git describe --always`-macosx-x86
12 DEST=dist/$VERSION
14 rm -rf $DEST
15 mkdir -p $DEST
18 git archive HEAD | tar x -C $DEST
20 # Rebuild the Python .proto files and .pyc
23 # Package the Python libraries
24 ( cd $DEST/generator; python3 -m PyInstaller --collect-all grpc_tools.grpc_version nanopb_generator…
25 ( cd $DEST/generator; python3 -m PyInstaller --collect-all grpc_tools.grpc_version protoc )
26 mv $DEST/generator/dist/nanopb_generator $DEST/generator-bin
27 cp $DEST/generator/dist/protoc/protoc $DEST/generator-bin
30 cp -pr $(python3 -c 'import grpc_tools, os.path; print(os.path.dirname(grpc_tools.__file__))')/_pro…
31 cp -pr $DEST/generator/proto $DEST/generator-bin/proto
34 rm -rf $DEST/generator/dist $DEST/generator/build $DEST/generator/*.spec
37 cp $DEST/generator-bin/nanopb_generator $DEST/generator-bin/protoc-gen-nanopb
40 ( cd dist; tar -czf $VERSION.tar.gz $VERSION )