Skip to content

Commit 008635b

Browse files
Rene van Eemeta-codesync[bot]
authored andcommitted
Add deffile attribute
Summary: The change adds a new attribute `deffile` to the `python_wheel` rule in the `buck2` prelude. This attribute allows specifying a source file for the `deffile`. Differential Revision: D97208455 fbshipit-source-id: 100d21688402210a902021f804c1ca9d42223e15
1 parent 5bb3cc2 commit 008635b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

prelude/python/python_wheel.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ python_wheel = rule(
565565
rpaths = attrs.list(attrs.string(), default = []),
566566
lib_dir = attrs.option(attrs.string(), default = None),
567567
labels = attrs.list(attrs.string(), default = []),
568+
deffile = attrs.option(attrs.source(), default = None),
568569
linker_flags = attrs.list(attrs.arg(anon_target_compatible = True), default = []),
569570
anonymous_link = attrs.bool(default = True),
570571
link_execution_preference = link_execution_preference_attr(),

0 commit comments

Comments
 (0)