summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonutils.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2020-01-10 13:05:09 +0100
committerDavid Schulz <david.schulz@qt.io>2020-01-13 08:02:16 +0000
commitdee41be2aba2ed9ebf04a32e66a695824256a9aa (patch)
tree3a6794e98b618412147fa8c69c9a66908709f0cd /src/plugins/python/pythonutils.cpp
parent4fa9842c824f5748abed393dd4ac8517da1dd44a (diff)
downloadqt-creator-dee41be2aba2ed9ebf04a32e66a695824256a9aa.tar.gz
Python: install pyls with [all] tag on windows
Pylint caused some troubles on windows, but since 0.31.0 it is disabled by default, so we can safely install the complete python language server on all platforms now. Change-Id: I2f7047e71308040c41d996679d19868c4e6fe73a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythonutils.cpp')
-rw-r--r--src/plugins/python/pythonutils.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/python/pythonutils.cpp b/src/plugins/python/pythonutils.cpp
index 651510161c..72ca189cf3 100644
--- a/src/plugins/python/pythonutils.cpp
+++ b/src/plugins/python/pythonutils.cpp
@@ -257,12 +257,7 @@ public:
connect(&m_killTimer, &QTimer::timeout, this, &PythonLSInstallHelper::cancel);
connect(&m_watcher, &QFutureWatcher<void>::canceled, this, &PythonLSInstallHelper::cancel);
- // on windows the pyls 0.28.3 crashes with pylint so just install the pyflakes linter
- const QString &pylsVersion = HostOsInfo::isWindowsHost()
- ? QString{"python-language-server[pyflakes]"}
- : QString{"python-language-server[all]"};
-
- QStringList arguments = {"-m", "pip", "install", pylsVersion};
+ QStringList arguments = {"-m", "pip", "install", "python-language-server[all]"};
// add --user to global pythons, but skip it for venv pythons
if (!QDir(m_python.parentDir().toString()).exists("activate"))