mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 01:31:08 +08:00
Remove Redis version from Linux scripts (#56)
* Remove Redis version from Linux scripts * Add documentation.
This commit is contained in:
committed by
Robert Nishihara
parent
4b00c029ac
commit
3714984094
@@ -81,7 +81,7 @@ def start_redis(num_retries=20, cleanup=True):
|
||||
Raises:
|
||||
Exception: An exception is raised if Redis could not be started.
|
||||
"""
|
||||
redis_filepath = os.path.join(os.path.dirname(os.path.abspath(__file__)), "../common/thirdparty/redis-3.2.3/src/redis-server")
|
||||
redis_filepath = os.path.join(os.path.dirname(os.path.abspath(__file__)), "../common/thirdparty/redis/src/redis-server")
|
||||
counter = 0
|
||||
while counter < num_retries:
|
||||
if counter > 0:
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ class install(_install.install):
|
||||
setup(name="ray",
|
||||
version="0.0.1",
|
||||
packages=find_packages(),
|
||||
package_data={"common": ["thirdparty/redis-3.2.3/src/redis-server"],
|
||||
package_data={"common": ["thirdparty/redis/src/redis-server"],
|
||||
"plasma": ["build/plasma_store",
|
||||
"build/plasma_manager",
|
||||
"lib/python/libplasma.so"],
|
||||
|
||||
Reference in New Issue
Block a user