Medical Imaging Interaction Toolkit  2025.08.99-f7084adb
Medical Imaging Interaction Toolkit
mitkPythonHelper.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkPythonHelper_h
14 #define mitkPythonHelper_h
15 
16 #include <mitkFileSystem.h>
18 
19 #define MITK_PYTHON_LIBRARY_FILENAME "libpython3.12.so"
20 
22 {
23  // DO NOT EDIT THIS FILE DIRECTLY.
24  // This header is auto-generated from mitkPythonHelper.h.in by CMake.
25  // To make changes, modify mitkPythonHelper.h.in instead.
26 
30 
32  MITKPYTHONHELPER_EXPORT fs::path GetVirtualEnvPath(const std::string& name);
33  MITKPYTHONHELPER_EXPORT bool VirtualEnvExists(const std::string& name);
34  MITKPYTHONHELPER_EXPORT fs::path CreateVirtualEnv(const std::string& name);
35  MITKPYTHONHELPER_EXPORT bool ActivateVirtualEnv(const std::string& name);
36  MITKPYTHONHELPER_EXPORT bool ActivateVirtualEnv(const fs::path& path);
37 }
38 
39 #endif
mitk::PythonHelper::GetVirtualEnvPath
MITKPYTHONHELPER_EXPORT fs::path GetVirtualEnvPath(const std::string &name)
mitk::PythonHelper::CreateVirtualEnv
MITKPYTHONHELPER_EXPORT fs::path CreateVirtualEnv(const std::string &name)
mitk::PythonHelper::GetHomePath
MITKPYTHONHELPER_EXPORT fs::path GetHomePath()
MITKPYTHONHELPER_EXPORT
#define MITKPYTHONHELPER_EXPORT
Definition: MitkPythonHelperExports.h:15
mitk::PythonHelper::VirtualEnvExists
MITKPYTHONHELPER_EXPORT bool VirtualEnvExists(const std::string &name)
MitkPythonHelperExports.h
mitk::PythonHelper::ActivateVirtualEnv
MITKPYTHONHELPER_EXPORT bool ActivateVirtualEnv(const std::string &name)
mitk::PythonHelper::GetVirtualEnvBasePath
MITKPYTHONHELPER_EXPORT fs::path GetVirtualEnvBasePath()
mitkFileSystem.h
mitk::PythonHelper::GetLibraryPath
MITKPYTHONHELPER_EXPORT fs::path GetLibraryPath()
mitk::PythonHelper
Definition: mitkPythonHelper.h:21
mitk::PythonHelper::GetExecutablePath
MITKPYTHONHELPER_EXPORT fs::path GetExecutablePath()