From 20f01fec855dafdb140e85653e2fb3bcd982d4f9 Mon Sep 17 00:00:00 2001 From: derAnfaenger Date: Tue, 12 Sep 2017 16:48:37 +0200 Subject: [PATCH] provision: Put venv activation path in quotes. This makes the command work with Windows paths with spaces in them. --- tools/provision | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/provision b/tools/provision index dbda5c2..fca6942 100755 --- a/tools/provision +++ b/tools/provision @@ -54,7 +54,7 @@ the Python version this command is executed with.""" raise OSError("The command `pip install -r {}` failed. Dependencies not installed!" .format(os.path.join(base_dir, 'requirements.txt'))) - print("{green}Success!{end_format} Run\n {bold}source {activate}{end_format}\nto activate virtualenv.".format( + print("{green}Success!{end_format} Run\n {bold}source '{activate}'{end_format}\nto activate virtualenv.".format( green='\033[92m', bold='\033[1m', end_format='\033[0m', activate=os.path.join(base_dir, venv_dir, venv_exec_dir, 'activate')))