Skip to content

Commit ffb3e13

Browse files
committed
remove bad attr
1 parent 11d48ea commit ffb3e13

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/howto/pypi-headers.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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
4444
whl_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 = """
4848
load("@//: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\nnumpy_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"],

0 commit comments

Comments
 (0)