@@ -31,7 +31,8 @@ def pip_install(python_dir, package):
3131def prepare_build_env (python_version ):
3232 python_dir = "C:/Python%s" % python_version
3333 if not os .path .exists (python_dir ):
34- raise FileNotFoundError ("Aborting. python_dir [%s] does not exist." % python_dir )
34+ raise FileNotFoundError (
35+ "Aborting. python_dir [%s] does not exist." % python_dir )
3536
3637 venv = os .path .join (python_dir , "Scripts" , "virtualenv.exe" )
3738 venv_dir = os .path .join (ROOT_DIR , "venv-%s" % python_version )
@@ -100,7 +101,9 @@ def build_wrapped_itk(
100101 check_call ([ninja_executable ])
101102
102103
103- def build_wheel (python_version , single_wheel = False , cleanup = False , wheel_names = None ):
104+ def build_wheel (python_version , single_wheel = False ,
105+ cleanup = False , wheel_names = None ):
106+
104107 venv_dir = os .path .join (ROOT_DIR , "venv-%s" % python_version )
105108
106109 python_executable = os .path .join (venv_dir , "Scripts" , "python.exe" )
@@ -230,7 +233,8 @@ def test_wheels(single_wheel=False):
230233 pass
231234
232235
233- def build_wheels (py_envs = None , single_wheel = False , cleanup = False , wheel_names = None ):
236+ def build_wheels (py_envs = None , single_wheel = False ,
237+ cleanup = False , wheel_names = None ):
234238
235239 if py_envs is None :
236240 py_envs = ["27-x64" , "35-x64" , "36-x64" ]
@@ -260,7 +264,8 @@ def build_wheels(py_envs=None, single_wheel=False, cleanup=False, wheel_names=No
260264 # Compile wheels re-using standalone project and archive cache
261265 for py_env in py_envs :
262266 build_wheel (
263- py_env , single_wheel = single_wheel , cleanup = cleanup , wheel_names = wheel_names )
267+ py_env , single_wheel = single_wheel ,
268+ cleanup = cleanup , wheel_names = wheel_names )
264269
265270
266271def main (py_envs = None , wheel_names = None , cleanup = True ):
0 commit comments