forked from grpc/grpc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into why_lever
- Loading branch information
Showing
17 changed files
with
211 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ futures>=2.2.0 | |
cython>=0.23 | ||
coverage>=4.0 | ||
six>=1.10 | ||
wheel>=0.29 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,40 @@ | ||
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_. | ||
Run the following command to install gRPC Python. | ||
gRPC Python is available for Linux and Mac OS X running Python 2.7. | ||
|
||
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 | ||
.. _homebrew: http:https://brew.sh | ||
.. _`gRPC install script`: https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install | ||
Note that `$REPO_ROOT` can be assigned to whatever directory name floats your | ||
fancy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.