Nicolas Noble b9518217f0 Merge pull request #887 from murgatroid99/travis_python vor 10 Jahren
..
interop 5cdf37eb7b Removed execute permissions from README files. vor 10 Jahren
src 4a171f8e2d Fixed python link order vor 10 Jahren
README.md 5cdf37eb7b Removed execute permissions from README files. vor 10 Jahren
requirements.txt 53f101a7a9 Moved pip dependencies into requirements.txt . vor 10 Jahren

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