forked from qt-creator/qt-creator
Python: add create venv action
The action can be triggered from the interpreter chooser of the editor toolbar. Change-Id: Ie23b68a3790525ea02883ef359b357a0d317b2f5 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -24,12 +24,14 @@ public:
|
||||
static Interpreter interpreter(const QString &interpreterId);
|
||||
static void setInterpreter(const QList<Interpreter> &interpreters, const QString &defaultId);
|
||||
static void addInterpreter(const Interpreter &interpreter, bool isDefault = false);
|
||||
static Interpreter addInterpreter(const Utils::FilePath &interpreterPath,
|
||||
bool isDefault = false);
|
||||
static void setPyLSConfiguration(const QString &configuration);
|
||||
static bool pylsEnabled();
|
||||
static void setPylsEnabled(const bool &enabled);
|
||||
static QString pylsConfiguration();
|
||||
static PythonSettings *instance();
|
||||
|
||||
static void createVirtualEnvironment(const Utils::FilePath &startDirectory, const Interpreter &defaultInterpreter, const std::function<void (std::optional<Interpreter>)> &callback);
|
||||
static QList<Interpreter> detectPythonVenvs(const Utils::FilePath &path);
|
||||
|
||||
signals:
|
||||
|
||||
Reference in New Issue
Block a user