me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/python.scm (python-joblib, python2-joblib)[source]:
  Add snippet.
master
Hartmut Goebel 2016-10-16 19:32:06 +02:00
parent bb06aa3446
commit 6aa5f1ca24
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 9 additions and 1 deletions

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