gnu: python-django-statici18n: Do not read PYTHONPATH.

* gnu/packages/django.scm (python-django-statici18n)
[phases]{check}: Do not read PYTHONPATH from environment.  Do not set
build/lib explicitly (the install site path is already in the Guix
PYTHONPATH).
This commit is contained in:
Maxim Cournoyer 2021-01-23 00:31:20 -05:00
parent f7f507b577
commit 1df75a20b0
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -935,9 +935,7 @@ name is purely coincidental.")
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
(setenv "PYTHONPATH"
(string-append "./tests/test_project:./build/lib:"
(getenv "PYTHONPATH")))
(setenv "PYTHONPATH" "./tests/test_project")
(setenv "DJANGO_SETTINGS_MODULE" "project.settings")
(invoke "pytest" "-vv"))))))
(native-inputs