mirror of
https://github.com/wassname/ray.git
synced 2026-06-28 16:46:43 +08:00
@@ -18,7 +18,8 @@ def do_link(package, force=False, local_path=""):
|
||||
os.path.join(ray.__file__, "../{}".format(package)))
|
||||
local_home = os.path.abspath(
|
||||
os.path.join(__file__, local_path + "../{}".format(package)))
|
||||
assert os.path.isdir(package_home), package_home
|
||||
if not os.path.isdir(package_home):
|
||||
print("{} does not exist. Continuing to link.".format(package_home))
|
||||
assert os.path.isdir(local_home), local_home
|
||||
if not force and not click.confirm(
|
||||
"This will replace:\n {}\nwith a symlink to:\n {}".format(
|
||||
|
||||
Reference in New Issue
Block a user