Explicitly set PYTHONPATH to the sourcedir when building the documentation

This avoids:

    ModuleNotFoundError: No module named 'breathe'
epel9
Miro Hrončok 4 years ago
parent 4b03510e8c
commit 4bbf5b82dd

@ -58,7 +58,7 @@ This package contains documentation for developer documentation for %{srcname}.
%build %build
%py3_build %py3_build
# Build the documentation # Build the documentation
%make_build DOXYGEN=$(which doxygen) html %make_build DOXYGEN=$(which doxygen) PYTHONPATH=$(pwd) html
# Remove temporary build files # Remove temporary build files
rm documentation/build/html/.buildinfo rm documentation/build/html/.buildinfo

Loading…
Cancel
Save