Skip to content

Commit 29c484a

Browse files
Wentzellclaude
andcommitted
[doc] Add dftkit python path for sphinx build
The converters module now imports from triqs_dftkit, which requires its build python directory on the PYTHONPATH. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 18f63a6 commit 29c484a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ add_custom_target(${PROJECT_NAME}_docs_sphinx ALL)
1313
add_custom_command(
1414
TARGET ${PROJECT_NAME}_docs_sphinx
1515
POST_BUILD
16-
COMMAND PYTHONPATH=${PROJECT_BINARY_DIR}/python:$ENV{PYTHONPATH} ${SPHINXBUILD_EXECUTABLE} -j auto -c . -b html ${CMAKE_CURRENT_SOURCE_DIR} html
16+
COMMAND PYTHONPATH=${PROJECT_BINARY_DIR}/python:${triqs_dftkit_BINARY_DIR}/python:$ENV{PYTHONPATH} ${SPHINXBUILD_EXECUTABLE} -j auto -c . -b html ${CMAKE_CURRENT_SOURCE_DIR} html
1717
)
1818

1919
# ---------------------------------

0 commit comments

Comments
 (0)