Delete references to the Debian-bundled Python

We should now be able to use the rules_python version for everything.
There's no need to keep the old stuff around.

Signed-off-by: Philipp Schrader <philipp.schrader@gmail.com>
Change-Id: I75b1764d1d98c17832bfd0146c958db96d54ae48
diff --git a/third_party/python/BUILD b/third_party/python/BUILD
index 325870c..46c464c 100644
--- a/third_party/python/BUILD
+++ b/third_party/python/BUILD
@@ -2,37 +2,30 @@
 
 cc_library(
     name = "python",
-    deps = select({
-        "//tools/platforms/python:debian_bundled_python": [
-            "@python_repo//:python3.9_lib",
-        ],
-        "//tools/platforms/python:upstream_bundled_python": [
-            "@python3_9_x86_64-unknown-linux-gnu//:python_headers",
-            "@python3_9_x86_64-unknown-linux-gnu//:libpython",
-        ],
-    }),
-    defines = select({
-        "//tools/platforms/python:debian_bundled_python": [
-            "FRC971_DEBIAN_BUNDLED_PYTHON",
-        ],
-        "//tools/platforms/python:upstream_bundled_python": [
-            "FRC971_UPSTREAM_BUNDLED_PYTHON",
-            "FRC971_PYTHON_HOME=../python3_9_x86_64-unknown-linux-gnu/",
-        ],
-    }),
+    deps = [
+        "@python3_9_x86_64-unknown-linux-gnu//:python_headers",
+        "@python3_9_x86_64-unknown-linux-gnu//:libpython",
+    ],
+    defines = [
+        "FRC971_UPSTREAM_BUNDLED_PYTHON",
+        "FRC971_PYTHON_HOME=../python3_9_x86_64-unknown-linux-gnu/",
+    ],
+    target_compatible_with = [
+        "@platforms//cpu:x86_64",
+        "@platforms//os:linux",
+    ],
     visibility = ["//visibility:public"],
 )
 
 filegroup(
     name = "python_runtime",
-    data = select({
-        "//tools/platforms/python:debian_bundled_python": [
-            "@python_repo//:all_files",
-        ],
-        "//tools/platforms/python:upstream_bundled_python": [
-            "@python3_9_x86_64-unknown-linux-gnu//:files",
-        ],
-    }),
+    data = [
+        "@python3_9_x86_64-unknown-linux-gnu//:files",
+    ],
+    target_compatible_with = [
+        "@platforms//cpu:x86_64",
+        "@platforms//os:linux",
+    ],
     visibility = ["//visibility:public"],
 )