Skip to content

Commit 9b8e736

Browse files
committed
remove dead code
1 parent 22e0d8c commit 9b8e736

File tree

2 files changed

+0
-19
lines changed

2 files changed

+0
-19
lines changed

python/private/pypi/config.bzl.tmpl.bzlmod

-9
This file was deleted.

python/private/pypi/hub_repository.bzl

-10
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ def _impl(rctx):
4545
macro_tmpl = "@@{name}//{{}}:{{}}".format(name = rctx.attr.name)
4646

4747
rctx.file("BUILD.bazel", _BUILD_FILE_CONTENTS)
48-
rctx.template(
49-
"config.bzl",
50-
rctx.attr._config_template,
51-
substitutions = {
52-
"%%TARGET_PLATFORMS%%": render.list(rctx.attr.target_platforms),
53-
},
54-
)
5548
rctx.template("requirements.bzl", rctx.attr._requirements_bzl_template, substitutions = {
5649
"%%ALL_DATA_REQUIREMENTS%%": render.list([
5750
macro_tmpl.format(p, "data")
@@ -98,9 +91,6 @@ The wheel map where values are json.encoded strings of the whl_map constructed
9891
in the pip.parse tag class.
9992
""",
10093
),
101-
"_config_template": attr.label(
102-
default = ":config.bzl.tmpl.bzlmod",
103-
),
10494
"_requirements_bzl_template": attr.label(
10595
default = ":requirements.bzl.tmpl.bzlmod",
10696
),

0 commit comments

Comments
 (0)