Skip to content

Commit

Permalink
Adding documentation for building from current master without cloning. (
Browse files Browse the repository at this point in the history
ray-project#1455)

* Updating docs with pip way to build from source

* wording
  • Loading branch information
devin-petersohn authored and robertnishihara committed Jan 23, 2018
1 parent fb4d991 commit 21a9160
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/source/install-on-macosx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ Ray can be built from the repository as follows.
cd ray/python
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
5 changes: 5 additions & 0 deletions doc/source/install-on-ubuntu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ Ray can be built from the repository as follows.
cd ray/python
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down

0 comments on commit 21a9160

Please sign in to comment.