gnu: python-setuptools: remove pre-built binaries from source.
These are used to build self-extracting installers for Windows. * gnu/packages/python.scm (python-setuptools, python2-setuptools) [source]: Add snippet to delete *.exe files.
This commit is contained in:
parent
c4516ad206
commit
e0ed457944
|
@ -825,7 +825,15 @@ have been used.")
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0kc7rbav00ks6iaw14p38y81q12fx0lpkhgf5m97xc04f5r318ig"))))
|
"0kc7rbav00ks6iaw14p38y81q12fx0lpkhgf5m97xc04f5r318ig"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
;; Remove included binaries which are used to build self-extracting
|
||||||
|
;; installers for Windows.
|
||||||
|
;; TODO: Find some way to build them ourself so we can include them.
|
||||||
|
(for-each delete-file (find-files "setuptools" "^(cli|gui).*\\.exe$"))
|
||||||
|
#t))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
;; FIXME: Tests require pytest, which itself relies on setuptools.
|
;; FIXME: Tests require pytest, which itself relies on setuptools.
|
||||||
;; One could bootstrap with an internal untested setuptools.
|
;; One could bootstrap with an internal untested setuptools.
|
||||||
|
|
Loading…
Reference in New Issue