mirror of
https://github.com/wassname/ray.git
synced 2026-08-13 12:30:18 +08:00
Remove typing module.
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ import shlex
|
||||
|
||||
# These 4 lines added to enable ReadTheDocs to work.
|
||||
import mock
|
||||
MOCK_MODULES = ["libraylib", "IPython", "numpy", "typing", "funcsigs", "subprocess32", "protobuf", "colorama", "graphviz", "cloudpickle", "ray.internal.graph_pb2"]
|
||||
MOCK_MODULES = ["libraylib", "IPython", "numpy", "funcsigs", "subprocess32", "protobuf", "colorama", "graphviz", "cloudpickle", "ray.internal.graph_pb2"]
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = mock.Mock()
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ brew update
|
||||
brew install git cmake automake autoconf libtool boost graphviz
|
||||
sudo easy_install pip
|
||||
sudo pip install ipython --user
|
||||
sudo pip install numpy typing funcsigs subprocess32 protobuf colorama graphviz cloudpickle --ignore-installed six
|
||||
sudo pip install numpy funcsigs subprocess32 protobuf colorama graphviz cloudpickle --ignore-installed six
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
@@ -15,7 +15,7 @@ First install the dependencies. We currently do not support Python 3.
|
||||
```
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y git cmake build-essential autoconf curl libtool python-dev python-numpy python-pip libboost-all-dev unzip graphviz
|
||||
sudo pip install ipython typing funcsigs subprocess32 protobuf colorama graphviz cloudpickle
|
||||
sudo pip install ipython funcsigs subprocess32 protobuf colorama graphviz cloudpickle
|
||||
```
|
||||
|
||||
## Build
|
||||
|
||||
Reference in New Issue
Block a user