File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,9 +278,7 @@ attribute.
278278 ),
279279 "precompile" : attr .string (
280280 doc = """
281- Whether py source files should be precompiled.
282-
283- See also: {flag}`--precompile` flag, which can override this attribute in some cases.
281+ Whether py source files **for this target** should be precompiled.
284282
285283Values:
286284
@@ -291,6 +289,15 @@ Values:
291289* `disabled`: Don't compile Python source files at build time.
292290* `if_generated_source`: Compile Python source files, but only if they're a
293291 generated file.
292+
293+ :::{seealso}
294+
295+ * The {flag}`--precompile` flag, which can override this attribute in some cases
296+ and will affect all targets when building.
297+ * The {obj}`pyc_collection` attribute for transitively enabling precompiling on
298+ a per-target basis.
299+ * The [Precompiling](precompiling) docs for a guide about using precompiling.
300+ :::
294301""" ,
295302 default = PrecompileAttr .INHERIT ,
296303 values = sorted (PrecompileAttr .__members__ .values ()),
You can’t perform that action at this time.
0 commit comments