diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2016-10-25 17:37:43 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2016-11-15 22:36:18 +0100 |
commit | bac23672ee6db3d24c75b7a18077b9318fdb81c9 (patch) | |
tree | 625f32233eab57e54fd2746569cbd863a2a88698 /gnu/packages | |
parent | b9c8ccce049cd4e5cd6e3800eb7f3033e0b09050 (diff) | |
download | patches-bac23672ee6db3d24c75b7a18077b9318fdb81c9.tar patches-bac23672ee6db3d24c75b7a18077b9318fdb81c9.tar.gz |
gnu: python-tables: Remove python byte-code files from source.
* gnu/packages/python.scm (python-tables)[source]: Add snippet.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/python.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 9f07ead921..48d75f0943 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6136,7 +6136,15 @@ printing of sub-tables by specifying a row range.") (uri (pypi-uri "tables" version)) (sha256 (base32 - "117s6w7s3yxafpmf3zz3svana7xfrsviw01va1xp7h8ylx8v6r1m")))) + "117s6w7s3yxafpmf3zz3svana7xfrsviw01va1xp7h8ylx8v6r1m")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Remove pre-compiled .pyc files from source. + (for-each delete-file-recursively + (find-files "." "__pycache__" #:directories? #t)) + (for-each delete-file (find-files "." "\\.pyc$")) + #t)))) (build-system python-build-system) (arguments `(;; FIXME: python-build-system does not pass configure-flags to "build" |