Browse Source

BLD: clean .pxi when cleaning (#14766)

(cherry picked from commit 43c24e621d)
pull/15648/head
Jeff Reback 6 years ago committed by Joris Van den Bossche
parent
commit
612508a0ce
  1. 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…
Cancel
Save