[Reproducible-builds] [dh-python] 103/183: distutils plugin: remove build directory in clean step
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.
commit 7005d18493a506bb826bcde60fd8ebe113fe9519
Author: Piotr Ożarowski <piotr at debian.org>
Date: Sun Sep 1 00:46:51 2013 +0200
distutils plugin: remove build directory in clean step
---
dhpython/build/plugin_distutils.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dhpython/build/plugin_distutils.py b/dhpython/build/plugin_distutils.py
index d927748..5c76c13 100644
--- a/dhpython/build/plugin_distutils.py
+++ b/dhpython/build/plugin_distutils.py
@@ -78,6 +78,8 @@ class BuildSystem(Base):
@create_pydistutils_cfg
def clean(self, context, args):
super(BuildSystem, self).clean(context, args)
+ dpath = join(context['dir'], 'build')
+ isdir(dpath) and rmtree(dpath)
for fname in glob1(context['dir'], '*.egg-info'):
fpath = join(context['dir'], fname)
rmtree(fpath) if isdir(fpath) else remove(fpath)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dh-python.git
More information about the Reproducible-builds
mailing list