IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Functions
PythonUtils.h File Reference

Utility functions for python tools management. More...

#include <IPSDKUtil/IPSDKUtilExports.h>
#include <IPSDKUtil/BaseTypes.h>
#include <IPSDKUtil/Tools/ProcessingResult.h>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 

Functions

IPSDKUTIL_API std::string ipsdk::getPythonExecName ()
 function allowing to retrieve python executable name
 
IPSDKUTIL_API std::string ipsdk::getPythonRootDirEnvVarName (const ipUInt32 pythonMajorVersion, const ipUInt32 pythonMinorVersion)
 function allowing to retrieve environment variable name which allows to retrieve root path to python distribution for a given python version
 
IPSDKUTIL_API boost::filesystem::path ipsdk::getPythonRootDir (const ipUInt32 pythonMajorVersion, const ipUInt32 pythonMinorVersion)
 function allowing to retrieve path to python executable for a given version from environment if it exits More...
 
IPSDKUTIL_API boost::filesystem::path ipsdk::getPythonExecPathFromEnvVar (const ipUInt32 pythonMajorVersion, const ipUInt32 pythonMinorVersion)
 function allowing to retrieve python executable path from environment variable associated to a given python version More...
 
IPSDKUTIL_API BoolResult ipsdk::getPythonExecVersion (const boost::filesystem::path &pythonExecPath, ipUInt32 &majorVersion, ipUInt32 &minorVersion, ipUInt32 &microVersion)
 function allowing to retrieve python executable version More...
 

Detailed Description

Utility functions for python tools management.

Author
E.Noirfalise
Date
2017/02/13