Skip to content

Commit 8c17d3d

Browse files
jcfrthewtex
authored andcommitted
windows_build_wheels: Cleanup "*.o" files
Anticipating this script will be generalized to the other platform, also delete *.o" files
1 parent 816a119 commit 8c17d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/windows_build_wheels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def build_wheel(python_version, single_wheel=False, cleanup=False):
207207
for root, _, file_list in os.walk(build_path):
208208
for filename in file_list:
209209
extension = os.path.splitext(filename)[1]
210-
if extension in [".cpp", ".xml", ".obj"]:
210+
if extension in [".cpp", ".xml", ".obj", ".o"]:
211211
os.remove(os.path.join(root, filename))
212212
shutil.rmtree(
213213
os.path.join(build_path, "Wrapping", "Generators", "CastXML"))

0 commit comments

Comments
 (0)