Skip to content

Commit 612508a

Browse files
jrebackjorisvandenbossche
authored andcommitted
BLD: clean .pxi when cleaning (#14766)
(cherry picked from commit 43c24e6)
1 parent 08c8cf6 commit 612508a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup.py

+5
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,11 @@ def initialize_options(self):
293293
if d == '__pycache__':
294294
self._clean_trees.append(pjoin(root, d))
295295

296+
# clean the generated pxi files
297+
for pxifile in _pxifiles:
298+
pxifile = pxifile.replace(".pxi.in", ".pxi")
299+
self._clean_me.append(pxifile)
300+
296301
for d in ('build', 'dist'):
297302
if os.path.exists(d):
298303
self._clean_trees.append(d)

0 commit comments

Comments
 (0)