[caffe-contrib] 11/14: rules: remove __pycache__ on clean

Zhou Mo cdluminate-guest at moszumanska.debian.org
Mon Jan 23 00:54:48 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-contrib.

commit 14353179f736e1b88078f28b8a77d22302820ed0
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Sun Jan 22 02:29:00 2017 +0000

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

diff --git a/debian/changelog b/debian/changelog
index afc2c8c..204c57e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ caffe-contrib (1.0.0~rc4-1) UNRELEASED; urgency=medium
     by symbol changes.
   * Don't miss the pytest target on the dh_auto_test phase.
   * Rules: update LD_LIBRARY_PATH for dh_auto_test.
+  * Rules: Remove all `__pycache__` directories on clean.
 
  -- Zhou Mo <cdluminate at gmail.com>  Sun, 22 Jan 2017 01:53:16 +0000
 
diff --git a/debian/rules b/debian/rules
index cfc8dba..88eaf87 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:
 	dh_auto_build --builddirectory=$(BUILDDIR) \

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



More information about the debian-science-commits mailing list