[packages/python3-nbformat] add built wheel to PYTHONPATH
atler
atler at pld-linux.org
Tue Apr 22 14:33:32 CEST 2025
commit fe7cffd0b404e2d8b077db7016c2a03e58cea30b
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Apr 22 13:47:28 2025 +0200
add built wheel to PYTHONPATH
python3-nbformat.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python3-nbformat.spec b/python3-nbformat.spec
index 7e5a042..866cb3a 100644
--- a/python3-nbformat.spec
+++ b/python3-nbformat.spec
@@ -70,11 +70,12 @@ Dokumentacja API modułu Pythona nbformat.
%if %{with tests}
PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTHONPATH=$(readlink -f build-3/*.whl) \
%{__python3} -m pytest -p no:unraisableexception tests
%endif
%if %{with doc}
-PYTHONPATH=$(pwd) \
+PYTHONPATH=$(readlink -f build-3/*.whl) \
%{__make} -C docs html \
SPHINXBUILD=sphinx-build-3
%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-nbformat.git/commitdiff/fe7cffd0b404e2d8b077db7016c2a03e58cea30b
More information about the pld-cvs-commit
mailing list