Bug fix: windows does not have 'which' command (#641)

This commit is contained in:
Jack Ting
2021-04-14 13:54:54 +02:00
committed by GitHub
parent 88e993f452
commit 1344fd4bd1
+1 -1
View File
@@ -295,7 +295,7 @@ def build(options: BuildOptions) -> None:
])
# check that we are using the Python from the virtual environment
call(['which', 'python'], env=virtualenv_env)
call(['where', 'python'], env=virtualenv_env)
if options.before_test:
before_test_prepared = prepare_command(