Merge branch 'main' into henrymercer/controlled-switchover
This commit is contained in:
commit
115587a52c
7 changed files with 45 additions and 11 deletions
|
|
@ -88,6 +88,8 @@ async function setupPythonExtractor(logger: Logger) {
|
|||
return;
|
||||
}
|
||||
|
||||
const scriptsFolder = path.resolve(__dirname, "../python-setup");
|
||||
|
||||
let output = "";
|
||||
const options = {
|
||||
listeners: {
|
||||
|
|
@ -99,10 +101,7 @@ async function setupPythonExtractor(logger: Logger) {
|
|||
|
||||
await new toolrunner.ToolRunner(
|
||||
codeqlPython,
|
||||
[
|
||||
"-c",
|
||||
"import os; import pip; print(os.path.dirname(os.path.dirname(pip.__file__)))",
|
||||
],
|
||||
[path.join(scriptsFolder, "find_site_packages.py")],
|
||||
options
|
||||
).exec();
|
||||
logger.info(`Setting LGTM_INDEX_IMPORT_PATH=${output}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue