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

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