[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
98/104: gnu: python-tables: Remove python byte-code files from source.
From: |
Hartmut Goebel |
Subject: |
98/104: gnu: python-tables: Remove python byte-code files from source. |
Date: |
Tue, 15 Nov 2016 21:37:08 +0000 (UTC) |
htgoebel pushed a commit to branch python-build-system
in repository guix.
commit bac23672ee6db3d24c75b7a18077b9318fdb81c9
Author: Hartmut Goebel <address@hidden>
Date: Tue Oct 25 17:37:43 2016 +0200
gnu: python-tables: Remove python byte-code files from source.
* gnu/packages/python.scm (python-tables)[source]: Add snippet.
---
gnu/packages/python.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9f07ead..48d75f0 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"
- 83/104: gnu: python-sphinx-repoze-autointerface: Remove needless input., (continued)
- 83/104: gnu: python-sphinx-repoze-autointerface: Remove needless input., Hartmut Goebel, 2016/11/15
- 81/104: gnu: Remove some outdated comments., Hartmut Goebel, 2016/11/15
- 85/104: gnu: python-responses: Correct inputs, Hartmut Goebel, 2016/11/15
- 82/104: gnu: python-celery: Remove needless inputs., Hartmut Goebel, 2016/11/15
- 88/104: gnu: python-freezegun: Correct input., Hartmut Goebel, 2016/11/15
- 92/104: gnu: khal: Fix build., Hartmut Goebel, 2016/11/15
- 95/104: gnu: python-pytest-django: Remove needless propagated input "python-py"., Hartmut Goebel, 2016/11/15
- 93/104: gnu: python2-warpedlmm: Remove phase remove-bin-directory., Hartmut Goebel, 2016/11/15
- 90/104: gnu: python-sphinxcontrib-newsfeed: Remove needless input., Hartmut Goebel, 2016/11/15
- 97/104: gnu: python-flake8-2.2.4: Remove python byte-code files from source., Hartmut Goebel, 2016/11/15
- 98/104: gnu: python-tables: Remove python byte-code files from source.,
Hartmut Goebel <=
- 101/104: gnu: python2-ipython: fix inputs., Hartmut Goebel, 2016/11/15
- 94/104: gnu: python2-pbcore: Fix inputs:, Hartmut Goebel, 2016/11/15
- 102/104: gnu: python-pip: fix inputs., Hartmut Goebel, 2016/11/15
- 104/104: gnu: python-awscli: fix inputs., Hartmut Goebel, 2016/11/15
- 14/104: gnu: Remove python-setuptools and python2-setuptools from inputs (part 2), Hartmut Goebel, 2016/11/15