[python-debian/master 1/4] Remove more temporary files generated during build
John Wright
jsw at debian.org
Sun Mar 14 10:47:14 UTC 2010
distutils was leaving behind a .egg-info directory, and our tests were
causing a bunch of .pyc files to be left around. Now we should have
consistent source tarball generation.
---
debian/rules | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/debian/rules b/debian/rules
index 9602cea..740b153 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,9 +34,11 @@ clean: setup.py
# Add here commands to clean up after the build process.
python setup.py clean
+ rm -rf lib/python_debian.egg-info
rm -rf build/
rm -f README.debtags
rm -f setup.py
+ find lib/debian -type f -name '*.pyc' -exec rm {} \;
dh_clean
--
1.6.3.3
More information about the pkg-python-debian-commits
mailing list