provision: Put venv activation path in quotes.
This makes the command work with Windows paths with spaces in them.
This commit is contained in:
parent
6aece20925
commit
20f01fec85
|
@ -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')))
|
||||
|
||||
|
|
Loading…
Reference in a new issue