public class CPython extends Python
Modifier | Constructor and Description |
---|---|
protected |
CPython(hudson.FilePath home)
Constructor using fields
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getEnvironment(boolean includeHomeKey)
Get the environment for this interpreter.
|
hudson.FilePath |
getExecutable()
Get the PYTHON executable.
|
CPython |
isCPython()
Is this a CPython implementation?
|
fromHome, getEnvironment, getHome, isExecutable, isIronPython, isJython, isPyPy, isUnix, isValid, isVirtualenv, isWindows
protected CPython(hudson.FilePath home) throws IOException, InterruptedException
home
- The home folderInterruptedException
IOException
public CPython isCPython()
Python
public hudson.FilePath getExecutable() throws IOException, InterruptedException
Python
getExecutable
in class Python
IOException
InterruptedException
public Map<String,String> getEnvironment(boolean includeHomeKey) throws IOException, InterruptedException
Python
getEnvironment
in class Python
includeHomeKey
- If true, add home variable such as PYTHONHOMEIOException
InterruptedException
Copyright © 2004-2018. All Rights Reserved.