1# Copyright 2024 The Bazel Authors. All rights reserved. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15"""This file contains macros to be called during WORKSPACE evaluation. 16""" 17 18load( 19 "//python/private:is_standalone_interpreter.bzl", 20 _STANDALONE_INTERPRETER_FILENAME = "STANDALONE_INTERPRETER_FILENAME", 21 _is_standalone_interpreter = "is_standalone_interpreter", 22) 23load("//python/private:py_repositories.bzl", _py_repositories = "py_repositories") 24load("//python/private:python_register_multi_toolchains.bzl", _python_register_multi_toolchains = "python_register_multi_toolchains") 25load("//python/private:python_register_toolchains.bzl", _python_register_toolchains = "python_register_toolchains") 26load("//python/private:python_repository.bzl", _python_repository = "python_repository") 27 28py_repositories = _py_repositories 29python_register_multi_toolchains = _python_register_multi_toolchains 30python_register_toolchains = _python_register_toolchains 31 32# Useful for documentation, but is not intended for public use - the python 33# module extension will be the main interface in the future. 34python_repository = _python_repository 35 36# These symbols are of questionable public visibility. They were probably 37# not intended to be actually public. 38STANDALONE_INTERPRETER_FILENAME = _STANDALONE_INTERPRETER_FILENAME 39is_standalone_interpreter = _is_standalone_interpreter 40