File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ whl_mods = use_extension("@rules_python//python/extensions:pip.bzl", "whl_mods")
4242
4343# Define a specific modification for a wheel
4444whl_mods(
45- name = " numpy_mods " ,
45+ hub_name = " pypi_mods " ,
4646 whl_name = " numpy-1.0.0-py3-none-any.whl" , # The exact wheel filename
4747 additive_build_content = """
4848load("@//:pypi_extra_targets.bzl", "numpy_hdrs")
@@ -54,11 +54,8 @@ pip.parse(
5454 hub_name = " pypi" ,
5555 wheel_name = " numpy" ,
5656 requirements_lock = " //:requirements.txt" ,
57- build_file_content = {
58- " numpy" : ' load("//:pypi_extra_targets.bzl", "numpy_hdrs")\n\n numpy_hdrs()' ,
59- },
6057 whl_modifications = {
61- " @numpy_mods //:numpy.json" : " numpy" ,
58+ " @pypi_mods //:numpy.json" : " numpy" ,
6259 },
6360 extra_hub_aliases = {
6461 " numpy" : [" headers" ],
You can’t perform that action at this time.
0 commit comments