# Copyright 2023 Jeremy Volkman. All rights reserved. # Copyright 2023 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Python providers.""" PyWheelInfo = provider( doc = "Information about a Python wheel.", fields = { "name_file": "File: A file containing the canonical name of the wheel.", "wheel_file": "File: The wheel file itself.", }, ) PyTargetEnvironmentInfo = provider( doc = "A target environment description.", fields = { "file": "The JSON file containing target environment information.", "python_compatible_with": "A list of constraints used to select this platform.", }, )