diff --git a/rerun_py/Cargo.toml b/rerun_py/Cargo.toml index f5f1dd1d1798..5abdadb343cc 100644 --- a/rerun_py/Cargo.toml +++ b/rerun_py/Cargo.toml @@ -17,6 +17,9 @@ name = "rerun_bindings" # name of the .so library that the Python module will im [features] default = ["extension-module"] +## Extra features that aren't ready to be included in release builds yet. +extra = ["pypi", "remote"] + ## The features we turn on when building the `rerun-sdk` PyPi package ## for . pypi = ["extension-module", "nasm", "web_viewer"] diff --git a/scripts/ci/build_and_upload_wheels.py b/scripts/ci/build_and_upload_wheels.py index 94c0ca149225..a45448c2da54 100755 --- a/scripts/ci/build_and_upload_wheels.py +++ b/scripts/ci/build_and_upload_wheels.py @@ -56,6 +56,7 @@ def detect_target() -> str: class BuildMode(Enum): PYPI = "pypi" PR = "pr" + EXTRA = "extra" def __str__(self) -> str: return self.value @@ -68,6 +69,8 @@ def build_and_upload(bucket: Bucket | None, mode: BuildMode, gcs_dir: str, targe maturin_feature_flags = "--no-default-features --features pypi" elif mode is BuildMode.PR: maturin_feature_flags = "--no-default-features --features extension-module" + elif mode is BuildMode.EXTRA: + maturin_feature_flags = "--no-default-features --features extra" dist = f"dist/{target}"