gnu: python-django-url-filter: Do not alter PYTHONPATH.
* gnu/packages/django.scm (python-django-url-filter) [phases]: Delete trailing #t. {check}: Do not alter PYTHONPATH.
This commit is contained in:
parent
1df75a20b0
commit
3d9e8062bf
@ -1236,15 +1236,11 @@ to ElasticSearch.")
|
|||||||
;; Do not depend on compatibility package for old
|
;; Do not depend on compatibility package for old
|
||||||
;; Python versions.
|
;; Python versions.
|
||||||
(substitute* "requirements.txt"
|
(substitute* "requirements.txt"
|
||||||
(("enum-compat") ""))
|
(("enum-compat") ""))))
|
||||||
#t))
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(if tests?
|
(if tests?
|
||||||
(begin
|
(begin
|
||||||
(setenv "PYTHONPATH"
|
|
||||||
(string-append "./build/lib:.:"
|
|
||||||
(getenv "PYTHONPATH")))
|
|
||||||
(setenv "DJANGO_SETTINGS_MODULE"
|
(setenv "DJANGO_SETTINGS_MODULE"
|
||||||
"test_project.settings")
|
"test_project.settings")
|
||||||
(invoke "pytest" "-vv" "--doctest-modules"
|
(invoke "pytest" "-vv" "--doctest-modules"
|
||||||
|
Loading…
Reference in New Issue
Block a user