From 387c98cf015e484e8f20fb648f4a378b8f58bf27 Mon Sep 17 00:00:00 2001 From: Robert Nishihara Date: Wed, 27 Feb 2019 18:36:49 -0800 Subject: [PATCH] Make sure dashboard is packaged with wheels. (#4175) --- BUILD.bazel | 4 ++++ python/setup.py | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index 74da691b7..61651b2f0 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -501,6 +501,10 @@ filegroup( "python/ray/core/generated/__init__.py", "python/ray/core/generated/ray/__init__.py", "python/ray/core/generated/ray/protocol/__init__.py", + "python/ray/dashboard/dashboard.py", + "python/ray/dashboard/index.html", + "python/ray/dashboard/res/main.css", + "python/ray/dashboard/res/main.js", "python/ray/experimental/*.py", "python/ray/internal/*.py", "python/ray/WebUI.ipynb", diff --git a/python/setup.py b/python/setup.py index 6cb9f2d2b..2177e0c6b 100644 --- a/python/setup.py +++ b/python/setup.py @@ -24,7 +24,9 @@ ray_files = [ "ray/core/src/ray/gcs/redis_module/libray_redis_module.so", "ray/core/src/plasma/plasma_store_server", "ray/_raylet.so", "ray/core/src/ray/raylet/raylet_monitor", "ray/core/src/ray/raylet/raylet", - "ray/WebUI.ipynb" + "ray/WebUI.ipynb", "ray/dashboard/dashboard.py", + "ray/dashboard/index.html", "ray/dashboard/res/main.css", + "ray/dashboard/res/main.js" ] # These are the directories where automatically generated Python flatbuffer