mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: python-tables: Remove python byte-code files from source.
* gnu/packages/python.scm (python-tables)[source]: Add snippet.
This commit is contained in:
parent
b9c8ccce04
commit
bac23672ee
1 changed files with 9 additions and 1 deletions
|
@ -6136,7 +6136,15 @@ (define-public python-tables
|
||||||
(uri (pypi-uri "tables" version))
|
(uri (pypi-uri "tables" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(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)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; FIXME: python-build-system does not pass configure-flags to "build"
|
`(;; FIXME: python-build-system does not pass configure-flags to "build"
|
||||||
|
|
Loading…
Reference in a new issue