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

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