projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad0dcc
)
python/lib/moresetuptools.py: cleaner clean
author
Paul Brossier
<piem@piem.org>
Mon, 28 Nov 2016 17:12:37 +0000
(18:12 +0100)
committer
Paul Brossier
<piem@piem.org>
Mon, 28 Nov 2016 17:12:37 +0000
(18:12 +0100)
python/lib/moresetuptools.py
patch
|
blob
|
history
diff --git
a/python/lib/moresetuptools.py
b/python/lib/moresetuptools.py
index
08f4592
..
1238091
100644
(file)
--- a/
python/lib/moresetuptools.py
+++ b/
python/lib/moresetuptools.py
@@
-124,7
+124,9
@@
def add_system_aubio(ext):
class CleanGenerated(distutils.command.clean.clean):
def run(self):
- distutils.dir_util.remove_tree(output_path)
+ if os.path.isdir(output_path):
+ distutils.dir_util.remove_tree(output_path)
+ config = os.path.join('python', 'ext', 'config.h')
distutils.command.clean.clean.run(self)
from distutils.command.build_ext import build_ext as _build_ext