diff --git a/tflite/WORKSPACE b/tflite/WORKSPACE index 1f0a580..f6a3aa2 100644 --- a/tflite/WORKSPACE +++ b/tflite/WORKSPACE @@ -11,6 +11,28 @@ http_archive( ], ) +# Python +http_archive( + name = "rules_python", + sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b", + strip_prefix = "rules_python-0.26.0", + url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz", +) + +load("@rules_python//python:repositories.bzl", "py_repositories") + +py_repositories() + +load("@rules_python//python:repositories.bzl", "python_register_toolchains") + +python_register_toolchains( + name = "python", + python_version = "3.11", +) + +load("@python//:defs.bzl", "interpreter") +load("@rules_python//python:pip.bzl", "pip_parse") + # TensorFlow local_repository( name = "org_tensorflow",