[tune] Fix setup-dev relative path (#4747)

This commit is contained in:
Daniel Ho
2019-05-05 00:39:07 -07:00
committed by Eric Liang
parent f2faf5ce75
commit dca1c25d88
+1 -1
View File
@@ -17,7 +17,7 @@ def do_link(package, force=False):
package_home = os.path.abspath(
os.path.join(ray.__file__, "../{}".format(package)))
local_home = os.path.abspath(
os.path.join(__file__, "../../{}".format(package)))
os.path.join(__file__, "../{}".format(package)))
assert os.path.isdir(package_home), package_home
assert os.path.isdir(local_home), local_home
if not force and not click.confirm(