Misha Brukman 5cdf37eb7b Removed execute permissions from README files. 11 ani în urmă
..
interop 5cdf37eb7b Removed execute permissions from README files. 11 ani în urmă
src 1c37fe62fd Work towards invocation-side security. 11 ani în urmă
README.md 5cdf37eb7b Removed execute permissions from README files. 11 ani în urmă
requirements.txt 53f101a7a9 Moved pip dependencies into requirements.txt . 11 ani în urmă

README.md

gRPC Python

The Python facility of gRPC.

Status

Usable with limitations, Pre-Alpha

Prerequisites

Python 2.7, virtualenv, pip, libprotobuf-dev, and libprotoc-dev.

Building from source

  • Build the gRPC core from the root of the gRPC git repo

    $ make shared_c static_c
    
  • Use build_python.sh to build the Python code and install it into a virtual environment

    $ tools/run_tests/build_python.sh
    

Testing

  • Use run_python.sh to run gRPC as it was installed into the virtual environment

    $ tools/run_tests/run_python.sh
    

Installing

  • Install the gRPC core

  • Install gRPC Python's dependencies

    $ pip install -r requirements.txt
    
  • Install gRPC Python

    $ pip install src/python/src