Home
last modified time | relevance | path

Searched refs:mPythonVersion (Results 1 – 1 of 1) sorted by relevance

/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparer.java94 private String mPythonVersion = "2"; field in VtsPythonVirtualenvPreparer
400 if (mPythonVersion.startsWith("3.") || mPythonVersion.equals("3")) { in getConfiguredPythonVersionMajor()
402 } else if (mPythonVersion.startsWith("2.") || mPythonVersion.equals("2")) { in getConfiguredPythonVersionMajor()
405 throw new TargetSetupError("Unsupported python version " + mPythonVersion, mDescriptor); in getConfiguredPythonVersionMajor()
438 "virtualenv", "-p", "python" + mPythonVersion, virtualEnvDir.getAbsolutePath()}; in createVirtualenv()
479 virtualEnvDir = new File(workingDir, "vts-virtualenv-" + mPythonVersion); in createVirtualEnvCache()
488 virtualEnvDir = FileUtil.createTempDir("vts-virtualenv-" + mPythonVersion + "-" in createVirtualEnvCache()