1# http://www.apache.org/licenses/LICENSE-2.0 2# 3# Unless required by applicable law or agreed to in writing, software 4# distributed under the License is distributed on an "AS IS" BASIS, 5# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 6# See the License for the specific language governing permissions and 7# limitations under the License. 8 9"Python toolchain module extension for internal rule use" 10 11load("//python/pip_install:repositories.bzl", "pip_install_dependencies") 12 13# buildifier: disable=unused-variable 14def _internal_deps_impl(module_ctx): 15 pip_install_dependencies() 16 17internal_deps = module_extension( 18 doc = "This extension to register internal rules_python dependecies.", 19 implementation = _internal_deps_impl, 20 tag_classes = { 21 "install": tag_class(attrs = dict()), 22 }, 23) 24