Skip to content
Snippets Groups Projects
Commit 99a4e9e8 authored by Masood Malekghassemi's avatar Masood Malekghassemi
Browse files

Merge pull request #5230 from soltanmm/doc

Update Python doc
parents 78e04bbd dfab1191
No related branches found
No related tags found
No related merge requests found
gRPC Python gRPC Python
=========== ===========
Package for GRPC Python. Package for gRPC Python.
Dependencies Installation
------------ ------------
Ensure you have installed the gRPC core. On Mac OS X, install homebrew_. gRPC Python is available for Linux and Mac OS X running Python 2.7.
Run the following command to install gRPC Python.
From PyPI
~~~~~~~~~
If you are installing locally...
:: ::
$ curl -fsSL https://goo.gl/getgrpc | bash -s python $ pip install grpcio
Else system wide (on Ubuntu)...
::
This will download and run the [gRPC install script][] to install grpc core. The script then uses pip to install this package. It also installs the Protocol Buffers compiler (_protoc_) and the gRPC _protoc_ plugin for python. $ sudo pip install grpcio
From Source
~~~~~~~~~~~
Building from source requires that you have the Python headers (usually a
package named `python-dev`).
::
Otherwise, `install from source`_ $ export REPO_ROOT=grpc
$ git clone https://github.com/grpc/grpc.git $REPO_ROOT
$ cd $REPO_ROOT
$ pip install .
.. _`install from source`: https://github.com/grpc/grpc/blob/master/src/python/README.md#building-from-source Note that `$REPO_ROOT` can be assigned to whatever directory name floats your
.. _homebrew: http://brew.sh fancy.
.. _`gRPC install script`: https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment