1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-24 03:00:35 +02:00

gnu: python-joblib: Remove python byte-code files from source.

* gnu/packages/python.scm (python-joblib, python2-joblib)[source]:
  Add snippet.
This commit is contained in:
Hartmut Goebel
2016-10-16 19:32:06 +02:00
parent bb06aa3446
commit 6aa5f1ca24

View File

@@ -2649,7 +2649,15 @@ logic-free templating system Mustache.")
(uri (pypi-uri "joblib" version))
(sha256
(base32
"0787k919zlfmgymprz5bzv0v1df5bbirlf3awrghmjgvkrd9dci9"))))
"0787k919zlfmgymprz5bzv0v1df5bbirlf3awrghmjgvkrd9dci9"))
(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
`(#:phases