mirror of
https://github.com/wassname/ray.git
synced 2026-08-01 12:51:09 +08:00
Only install ray python packages. (#330)
* Only install ray python packages. * Add some __init__.py files. * Install Ray before building documentation. * Fix install-ray.sh. * Fix.
This commit is contained in:
committed by
Philipp Moritz
parent
39b7abefc5
commit
6a4bde54dc
@@ -16,12 +16,6 @@ import sys
|
||||
import os
|
||||
import shlex
|
||||
|
||||
# These lines added to enable Sphinx to work without installing Ray.
|
||||
import mock
|
||||
MOCK_MODULES = ["global_scheduler", "numbuf", "local_scheduler", "plasma"]
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = mock.Mock()
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
|
||||
Reference in New Issue
Block a user