BLD: clean .pxi when cleaning (#14766)
This commit is contained in:
parent
e3de052664
commit
43c24e621d
5
setup.py
5
setup.py
|
@ -293,6 +293,11 @@ class CleanCommand(Command):
|
|||
if d == '__pycache__':
|
||||
self._clean_trees.append(pjoin(root, d))
|
||||
|
||||
# clean the generated pxi files
|
||||
for pxifile in _pxifiles:
|
||||
pxifile = pxifile.replace(".pxi.in", ".pxi")
|
||||
self._clean_me.append(pxifile)
|
||||
|
||||
for d in ('build', 'dist'):
|
||||
if os.path.exists(d):
|
||||
self._clean_trees.append(d)
|
||||
|
|
Loading…
Reference in New Issue