Skip to content

Commit fdaf141

Browse files
jcfrthewtex
authored andcommitted
windows_build_wheels: Fix update of PATH in prepare_build_env
1 parent 329aa89 commit fdaf141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/windows_build_wheels.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def __exit__(self, typ, val, traceback):
105105

106106
def pip_install(python_dir, package):
107107
pip = os.path.join(python_dir, "Scripts", "pip.exe")
108-
print("Installing $package using %s" % pip)
108+
print("Installing %s using %s" % (package, pip))
109109
check_call([pip, "install", package])
110110

111111

@@ -146,7 +146,7 @@ def build_wheel(python_version, single_wheel=False):
146146

147147
# Update PATH
148148
path = os.path.join(venv_dir, "Scripts")
149-
with push_env(PATH="%s:%s" % (path, os.environ["PATH"])):
149+
with push_env(PATH="%s%s%s" % (path, os.pathsep, os.environ["PATH"])):
150150

151151
# Install dependencies
152152
check_call([pip, "install",

0 commit comments

Comments
 (0)