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
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -1321,9 +1321,8 @@ (define-public python2-renpy
;; named "setup.py".
(with-directory-excursion "module"
(apply (assoc-ref %standard-phases 'build) args))
;; the above causes renpy.__init__ to be compiled but does not
;; compile anything else, hence we do that here
(delete-file "renpy/__init__.pyc")
;; The above only builds the cython modules, but nothing else,
;; so we do that here.
(invoke "python" "-m" "compileall" "renpy")
#t))
(replace 'install