1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-28 12:01:49 +02:00

gnu: python2-renpy: Do not delete non-existing file.

* gnu/packages/game-development.scm (python2-renpy)[build]: Don't delete
renpy/__init__.pyc, it is no longer being built.  Adjust comment accordingly.
This commit is contained in:
Liliana Marie Prikler
2021-12-17 19:22:04 +01:00
parent 87ad9d283c
commit 72d43df66d
+2 -3
View File
@@ -1321,9 +1321,8 @@ developed mainly for Ren'py.")
;; named "setup.py". ;; named "setup.py".
(with-directory-excursion "module" (with-directory-excursion "module"
(apply (assoc-ref %standard-phases 'build) args)) (apply (assoc-ref %standard-phases 'build) args))
;; the above causes renpy.__init__ to be compiled but does not ;; The above only builds the cython modules, but nothing else,
;; compile anything else, hence we do that here ;; so we do that here.
(delete-file "renpy/__init__.pyc")
(invoke "python" "-m" "compileall" "renpy") (invoke "python" "-m" "compileall" "renpy")
#t)) #t))
(replace 'install (replace 'install