KiCad PCB EDA Suite
Loading...
Searching...
No Matches
python_manager.cpp File Reference
#include <config.h>
#include <gestfich.h>
#include <wx/process.h>
#include <wx/textfile.h>
#include <future>
#include <utility>
#include <api/api_utils.h>
#include <paths.h>
#include <pgm_base.h>
#include <api/python_manager.h>
#include <thread_pool.h>
#include <wx_filename.h>

Go to the source code of this file.

Classes

class  PYTHON_PROCESS
 

Functions

static wxString readAllFromStream (wxInputStream *aStream)
 
static wxString venvPythonPath (const wxString &aEnvPath)
 
static wxString canonicalizePath (const wxString &aPath)
 

Function Documentation

◆ canonicalizePath()

static wxString canonicalizePath ( const wxString & aPath)
static

Definition at line 400 of file python_manager.cpp.

References FN_NORMALIZE_FLAGS.

Referenced by PYTHON_MANAGER::IsVenvStale().

◆ readAllFromStream()

static wxString readAllFromStream ( wxInputStream * aStream)
static

Definition at line 94 of file python_manager.cpp.

References result.

Referenced by PYTHON_MANAGER::Execute(), and PYTHON_MANAGER::ExecuteSync().

◆ venvPythonPath()

static wxString venvPythonPath ( const wxString & aEnvPath)
static

Definition at line 337 of file python_manager.cpp.

Referenced by PYTHON_MANAGER::IsVenvUsable().