me
/
guix
Archived
1
0
Fork 0

gnu: python-django-appconf: Do not alter PYTHONPATH.

* gnu/packages/django.scm (python-django-appconf)
[phases]{check}: Do not alter PYTHONPATH.
master
Maxim Cournoyer 2021-01-23 00:29:08 -05:00
parent 283d5ac97f
commit f7f507b577
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 3 deletions

View File

@ -902,10 +902,8 @@ the order of added relations.")
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
(setenv "PYTHONPATH" (string-append ".:"
(getenv "PYTHONPATH")))
(setenv "DJANGO_SETTINGS_MODULE" "tests.test_settings")
(invoke "django-admin.py" "test" "-v2"))))))
(invoke "python" "django-admin.py" "test" "-v2"))))))
(native-inputs
`(("python-django" ,python-django)))
(home-page "https://github.com/django-compressor/django-appconf")