aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonlanguageclient.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2023-01-24 11:28:28 +0100
committerDavid Schulz <david.schulz@qt.io>2023-04-06 04:44:55 +0000
commitf5c41a7f8350f210ee2e2815bd07669c40449b83 (patch)
tree7f4a5c73c4a47ce8322753b1d2715f3f30ad0f17 /src/plugins/python/pythonlanguageclient.cpp
parent4b73de5580971533807306d5067c3f37be410f51 (diff)
Python: Allow installing multiple pip packages in one task
Change-Id: If6cc1373cd38c07b29ac48fa51bf0ed35d6f104b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythonlanguageclient.cpp')
-rw-r--r--src/plugins/python/pythonlanguageclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/python/pythonlanguageclient.cpp b/src/plugins/python/pythonlanguageclient.cpp
index 088cd516440..cd95d4d329f 100644
--- a/src/plugins/python/pythonlanguageclient.cpp
+++ b/src/plugins/python/pythonlanguageclient.cpp
@@ -305,7 +305,7 @@ void PyLSConfigureAssistant::installPythonLanguageServer(const FilePath &python,
install->deleteLater();
});
- install->setPackage(PipPackage{"python-lsp-server[all]", "Python Language Server"});
+ install->setPackages({PipPackage{"python-lsp-server[all]", "Python Language Server"}});
install->run();
}