PythonVirtualenvPreparer
public
class
PythonVirtualenvPreparer
extends BaseTargetPreparer
| java.lang.Object | ||
| ↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
| ↳ | com.android.tradefed.targetprep.PythonVirtualenvPreparer | |
호스트에 Python virtualenv를 설정하고 패키지를 설치합니다. 이를 활성화하기 위해 작업 디렉터리가 virtualenv의 루트로 변경됩니다.
요약
필드 | |
|---|---|
protected
static
final
String |
PYTHONPATH
|
공개 생성자 | |
|---|---|
PythonVirtualenvPreparer()
|
|
공개 메서드 | |
|---|---|
void
|
setUp(TestInformation testInformation)
|
보호된 메서드 | |
|---|---|
void
|
addDepModule(String module)
|
void
|
installDeps(IBuildInfo buildInfo, ITestDevice device)
|
void
|
setRequirementsFile(File f)
|
void
|
startVirtualenv(IBuildInfo buildInfo, ITestDevice device)
|
필드
PYTHONPATH
protected static final String PYTHONPATH
공개 생성자
PythonVirtualenvPreparer
public PythonVirtualenvPreparer ()
공개 메서드
setUp
public void setUp (TestInformation testInformation)
| 매개변수 | |
|---|---|
testInformation |
TestInformation |
| 생성 값 | |
|---|---|
TargetSetupError |
|
보호된 메서드
addDepModule
protected void addDepModule (String module)
| 매개변수 | |
|---|---|
module |
String |
installDeps
protected void installDeps (IBuildInfo buildInfo, ITestDevice device)
| 매개변수 | |
|---|---|
buildInfo |
IBuildInfo |
device |
ITestDevice |
| 생성 값 | |
|---|---|
TargetSetupError |
|
setRequirementsFile
protected void setRequirementsFile (File f)
| 매개변수 | |
|---|---|
f |
File |
startVirtualenv
protected void startVirtualenv (IBuildInfo buildInfo, ITestDevice device)
| 매개변수 | |
|---|---|
buildInfo |
IBuildInfo |
device |
ITestDevice |
| 생성 값 | |
|---|---|
TargetSetupError |
|