Skip to content

Commit ceb9d29

Browse files
committed
start implementing cep 20 for abi3 packages
1 parent 048584e commit ceb9d29

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/recipe/parser/build.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,12 @@ pub struct Python {
505505
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
506506
pub use_python_app_entrypoint: bool,
507507

508+
/// Whether the package is Python version independent.
509+
/// This is used for abi3 packages that are not tied to a specific Python version, but
510+
/// still contain compiled code (and thus need to end up in the right subdir).
511+
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
512+
pub version_independent: bool,
513+
508514
/// The relative site-packages path that a Python build _exports_ for other
509515
/// packages to use. This setting only makes sense for the `python` package
510516
/// itself. For example, a python 3.13 version could advertise a

0 commit comments

Comments
 (0)