only Python3 when building sphinx
@@ -387,8 +387,11 @@ function bv_python_host_profile
else
echo "VISIT_OPTION_DEFAULT(VISIT_PYTHON_DIR \${VISITHOME}/python/$PYTHON_VERSION/\${VISITARCH})" \
>> $HOSTCONF
+ if [[ "$BUILD_SPHINX" == "yes" ]]; then
echo "VISIT_OPTION_DEFAULT(VISIT_PYTHON3_DIR \${VISITHOME}/python/$PYTHON3_VERSION/\${VISITARCH})" \
>> $HOSTCONF
+ fi
+ >> $HOSTCONF
# echo "VISIT_OPTION_DEFAULT(VISIT_PYTHON_DIR $VISIT_PYTHON_DIR)" >> $HOSTCONF
fi
fi
@@ -1997,7 +2000,6 @@ function bv_python_build
fi
info "Done building the sphinx rtd python theme."
fi
-
fi
fi
}
