Skip to content

Commit 43c24e6

Browse files
authored
BLD: clean .pxi when cleaning (pandas-dev#14766)
1 parent e3de052 commit 43c24e6

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)