Skip to content

Commit 6357946

Browse files
jcfrthewtex
authored andcommitted
windows_build_wheels: Only remove CastXML folder
1 parent fdaf141 commit 6357946

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/windows_build_wheels.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,8 @@ def build_wheel(python_version, single_wheel=False):
276276
extension = os.path.splitext(filename)[1]
277277
if extension in [".cpp", ".xml", ".obj"]:
278278
os.remove(os.path.join(root, filename))
279-
280-
shutil.rmtree(os.path.join(build_path, "Wrapping", "Generators"))
281-
# XXX
282-
# Remove-Item -Recurse -Force $build_path\\Wrapping\\Generators\\castxml*
279+
shutil.rmtree(
280+
os.path.join(build_path, "Wrapping", "Generators", "CastXML"))
283281

284282

285283
def build_wheels():

0 commit comments

Comments
 (0)