Adding documentation for building from current master without cloning. (#1455)

* Updating docs with pip way to build from source

* wording
This commit is contained in:
Devin Petersohn 2018-01-23 14:47:30 -08:00 committed by Robert Nishihara
parent fb4d991732
commit 21a916009e
2 changed files with 10 additions and 0 deletions

View file

@ -48,6 +48,11 @@ Ray can be built from the repository as follows.
cd ray/python cd ray/python
python setup.py install # Add --user if you see a permission denied error. python setup.py install # Add --user if you see a permission denied error.
Alternatively, Ray can be built from the repository without cloning using pip.
.. code-block:: bash
pip install git+https://github.com/ray-project/ray.git#subdirectory=python
Test if the installation succeeded Test if the installation succeeded
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View file

@ -56,6 +56,11 @@ Ray can be built from the repository as follows.
cd ray/python cd ray/python
python setup.py install # Add --user if you see a permission denied error. python setup.py install # Add --user if you see a permission denied error.
Alternatively, Ray can be built from the repository without cloning using pip.
.. code-block:: bash
pip install git+https://github.com/ray-project/ray.git#subdirectory=python
Test if the installation succeeded Test if the installation succeeded
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~