From 426955f1861745ea93c31a430410884020b56540 Mon Sep 17 00:00:00 2001 From: mlangkabel Date: Tue, 10 Dec 2019 15:30:17 +0100 Subject: [PATCH] update python indexer to make it accept Windows Python environment with python.exe in root directory (issue #771) --- script/download_python_indexer.sh | 2 +- src/lib_python/project/SourceGroupPythonEmpty.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/script/download_python_indexer.sh b/script/download_python_indexer.sh index 0baeb7634..5cc612f8c 100755 --- a/script/download_python_indexer.sh +++ b/script/download_python_indexer.sh @@ -1,6 +1,6 @@ #!/bin/bash -SOURCETRAIL_PYTHON_INDEXER_VERSION="v1_db25_p1" +SOURCETRAIL_PYTHON_INDEXER_VERSION="v1_db25_p2" # Determine current platform PLATFORM='unknown' diff --git a/src/lib_python/project/SourceGroupPythonEmpty.cpp b/src/lib_python/project/SourceGroupPythonEmpty.cpp index 95084a8a4..be50accdb 100644 --- a/src/lib_python/project/SourceGroupPythonEmpty.cpp +++ b/src/lib_python/project/SourceGroupPythonEmpty.cpp @@ -56,7 +56,7 @@ std::vector> SourceGroupPythonEmpty::getIndexerC if (!m_settings->getEnvironmentPath().empty()) { - args += L" --environment-path=" + m_settings->getEnvironmentPathExpandedAndAbsolute().wstr(); + args += L" --environment-path=\"" + m_settings->getEnvironmentPathExpandedAndAbsolute().wstr() + L"\""; } if (ApplicationSettings::getInstance()->getVerboseIndexerLoggingEnabled())