gnu: pypy3: Do not alter PYTHONPATH.

* gnu/packages/python.scm (pypy3): Do not alter PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-27 18:08:29 -05:00
parent 792935c8da
commit 6867644250
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -775,9 +775,6 @@ (define-public pypy3
"targetpypystandalone"))
;; Build c modules and package everything, so tests work.
(with-directory-excursion "pypy/tool/release"
(unsetenv "PYTHONPATH") ; Do not use the systems python libs:
; AttributeError: module 'enum' has no
; attribute 'IntFlag'
(invoke "python2" "package.py"
"--archive-name" "pypy-dist"
"--builddir" (getcwd)))))