[caffe] 01/01: rules: remove all __pycache__ directories

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sat Jan 21 10:59:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

cdluminate-guest pushed a commit to branch master
in repository caffe.

commit e939bbe8e03baabe2ece4e579d071520a11bf130
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sat Jan 21 10:59:27 2017 +0000

    rules: remove all __pycache__ directories
---
 debian/changelog | 1 +
 debian/rules     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b0b3d30..6abc323 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ caffe (1.0.0~rc4-1) UNRELEASED; urgency=medium
   * Add the missing pytest target in override_dh_auto_test-arch.
   * Update LD_LIBRARY_PATH for dh_auto_test.
   * Rules: patch refman.tex before compiling to avoid pdflatex error.
+  * Rules: remove all __pycache__ directories on clean.
 
  -- Zhou Mo <cdluminate at gmail.com>  Sat, 21 Jan 2017 02:20:23 +0000
 
diff --git a/debian/rules b/debian/rules
index f8c26bc..883fab6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -69,6 +69,7 @@ override_dh_auto_clean:
 	dh_auto_clean --builddirectory=$(BUILDDIR)
 	-$(RM) -rf python/caffe/proto/ doxygen
 	-$(RM) python/caffe/_caffe.so
+	-find . -type d -name '__pycache__' -exec rm -rf '{}' +
 
 override_dh_auto_build-indep:
 	doxygen .Doxyfile # we don't use BUILD_DOC provided by upstream cmake

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe.git



More information about the debian-science-commits mailing list