diff options
author | Jayant Kolhe <jkolhe@google.com> | 2015-06-10 14:42:18 -0700 |
---|---|---|
committer | Jayant Kolhe <jkolhe@google.com> | 2015-06-10 14:42:18 -0700 |
commit | 14b39e0c2b648275d59019a805a408f2e07ffc5c (patch) | |
tree | 966ba1656f821caf94ca270d2ef4bf98e6deb3c3 /src/python | |
parent | dad6eee5f37496cbd106bbc74efa2426485049f9 (diff) | |
parent | 0c0ccb0acf03b109866c434a1992cea3858027d7 (diff) |
Merge pull request #2004 from tbetbetbe/python-package-update-install
Update README.rst
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/src/README.rst | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/src/python/src/README.rst b/src/python/src/README.rst index bc1815febc..00bdecf56f 100644 --- a/src/python/src/README.rst +++ b/src/python/src/README.rst @@ -6,22 +6,18 @@ Package for GRPC Python. Dependencies ------------ -Ensure that you have installed GRPC core. - -On debian linux systems, install from our released deb package: +Ensure you have installed the gRPC core. On Mac OS X, install homebrew_. On Linux, install linuxbrew_. +Run the following command to install gRPC Python. :: - $ wget https://github.com/grpc/grpc/releases/download/release-0_5_0/libgrpc_0.5.0_amd64.deb - $ wget https://github.com/grpc/grpc/releases/download/release-0_5_0/libgrpc-dev_0.5.0_amd64.deb - $ sudo dpkg -i libgrpc_0.5.0_amd64.deb libgrpc-dev_0.5.0_amd64.deb - -Otherwise, install from source: + $ curl -fsSL https://goo.gl/getgrpc | bash -s python -:: +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. - git clone https://github.com/grpc/grpc.git - cd grpc - ./configure - make && make install +Otherwise, `install from source`_ +.. _`install from source`: https://github.com/grpc/grpc/blob/master/src/python/README.md#building-from-source +.. _homebrew: http://brew.sh +.. _linuxbrew: https://github.com/Homebrew/linuxbrew#installation +.. _`gRPC install script`: https://raw.githubusercontent.com/grpc/homebrew-grpc/master/scripts/install |