Update Uwb config to use self-contained python binaries

Build from source and remove need for virtualenv to
make it self-contained.

Test: presubmit, forrest (https://android-build.googleplex.com/builds/abtd/run/L36500000954930737)
Bug: 234458076
Merged-In: I152e005a0574e1c47f4aa0c6b6bf8c6b212d24b7
Change-Id: Idb2f7c2ddbe5fdc5d75a349e0333773efbf4f05e
diff --git a/tests/cts/hostsidetests/multidevices/uwb/Android.bp b/tests/cts/hostsidetests/multidevices/uwb/Android.bp
index cee671a..ae83aef 100644
--- a/tests/cts/hostsidetests/multidevices/uwb/Android.bp
+++ b/tests/cts/hostsidetests/multidevices/uwb/Android.bp
@@ -20,6 +20,9 @@
     name: "CtsUwbMultiDeviceTestCases",
     main: "uwb_manager_test.py",
     srcs: ["uwb_manager_test.py"],
+    libs: [
+        "mobly",
+    ],
     test_suites: [
         "cts",
         "general-tests",
@@ -31,4 +34,13 @@
         // Package the snippet with the mobly test
         ":uwb_snippet",
     ],
+    version: {
+        py2: {
+            enabled: false,
+        },
+        py3: {
+            enabled: true,
+            embedded_launcher: true,
+        },
+    },
 }
diff --git a/tests/cts/hostsidetests/multidevices/uwb/AndroidTest.xml b/tests/cts/hostsidetests/multidevices/uwb/AndroidTest.xml
index d230b3a..8e852a3 100644
--- a/tests/cts/hostsidetests/multidevices/uwb/AndroidTest.xml
+++ b/tests/cts/hostsidetests/multidevices/uwb/AndroidTest.xml
@@ -30,12 +30,6 @@
             <option name="run-command" value="input keyevent KEYCODE_WAKEUP" />
             <option name="run-command" value="wm dismiss-keyguard" />
         </target_preparer>
-        <!-- Any python dependencies can be specified and will be installed with pip -->
-        <!-- TODO(b/225958696): Import python dependencies -->
-        <target_preparer class="com.android.tradefed.targetprep.PythonVirtualenvPreparer">
-          <option name="dep-module" value="mobly" />
-        </target_preparer>
-        -->
     </device>
     <device name="device2">
         <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">