scripts: west: be more explicit in copy warning message

Print the exact path to the copy of west that was run, to further
avoid confusion. Explain exactly what is going away and why.

Signed-off-by: Marti Bolivar <marti@foundries.io>
This commit is contained in:
Marti Bolivar 2018-11-20 09:18:44 -05:00 committed by Anas Nashif
commit c41703a020

View file

@ -104,8 +104,10 @@ def main():
run_scripts_meta_west()
finally:
print(colorama.Fore.LIGHTRED_EX, end='')
print('NOTE: you just ran a copy of west from zephyr/scripts; this',
'will be removed in the future.')
print('NOTE: you just ran a copy of west from {};'.
format(os.path.dirname(__file__)),
'this will be removed from the Zephyr repository in the future.',
'West is now developed separately.')
print(colorama.Style.RESET_ALL, end='', flush=True)