Lines Matching +full:python +full:- +full:version
6 # Requires: protobuf, python-protobuf, pyinstaller
8 set -e
9 set -x
11 VERSION=`git describe --always`-linux-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 --strip nanopb_g…
25 ( cd $DEST/generator; python3 -m PyInstaller --collect-all grpc_tools.grpc_version --strip protoc )
26 mv $DEST/generator/dist/nanopb_generator $DEST/generator-bin
27 cp $DEST/generator/dist/protoc/protoc $DEST/generator-bin
30 mkdir -p $DEST/generator-bin/grpc_tools/
31 cp -pr $(python3 -c 'import grpc_tools, os.path; print(os.path.dirname(grpc_tools.__file__))')/_pro…
32 cp -pr $DEST/generator/proto $DEST/generator-bin/proto
35 rm -rf $DEST/generator/dist $DEST/generator/build $DEST/generator/nanopb_generator.spec
38 cp $DEST/generator-bin/nanopb_generator $DEST/generator-bin/protoc-gen-nanopb
41 ( cd dist; tar -czf $VERSION.tar.gz $VERSION )