Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/shrubbery/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ rust_library(
"//crates/py_console_script_gen:py_console_script_gen_lib",
"//crates/py_wheel_dist:py_wheel_dist_lib",
"//crates/venv_shebang_rewriter:venv_shebang_rewriter_lib",
"//crates/wheel_record_rewriter:wheel_record_rewriter_lib",
"//crates/wheelmaker:wheelmaker_lib",
"//crates/zip_main_maker:zip_main_maker_lib",
"//crates/zipper:zipper_lib",
Expand Down
3 changes: 3 additions & 0 deletions crates/shrubbery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub mod subcommands {
pub const PY_CONSOLE_SCRIPT_GEN: &str = "py_console_script_gen";
pub const PY_WHEEL_DIST: &str = "py_wheel_dist";
pub const VENV_SHEBANG_REWRITER: &str = "venv_shebang_rewriter";
pub const WHEEL_RECORD_REWRITER: &str = "wheel_record_rewriter";
pub const WHEELMAKER: &str = "wheelmaker";
pub const ZIP_MAIN_MAKER: &str = "zip_main_maker";
pub const ZIPPER: &str = "zipper";
Expand All @@ -29,6 +30,7 @@ pub const SUBCOMMANDS: &[&str] = &[
subcommands::PY_CONSOLE_SCRIPT_GEN,
subcommands::PY_WHEEL_DIST,
subcommands::VENV_SHEBANG_REWRITER,
subcommands::WHEEL_RECORD_REWRITER,
subcommands::WHEELMAKER,
subcommands::ZIP_MAIN_MAKER,
subcommands::ZIPPER,
Expand Down Expand Up @@ -78,6 +80,7 @@ where
subcommands::PY_CONSOLE_SCRIPT_GEN => py_console_script_gen_lib::run_cli(iter),
subcommands::PY_WHEEL_DIST => py_wheel_dist_lib::run_cli(iter),
subcommands::VENV_SHEBANG_REWRITER => venv_shebang_rewriter_lib::run_cli(iter),
subcommands::WHEEL_RECORD_REWRITER => wheel_record_rewriter_lib::run_cli(iter),
subcommands::WHEELMAKER => wheelmaker_lib::run_cli(iter),
subcommands::ZIP_MAIN_MAKER => zip_main_maker_lib::run_cli(iter),
subcommands::ZIPPER => zipper_lib::run_cli(iter),
Expand Down
21 changes: 21 additions & 0 deletions crates/wheel_record_rewriter/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
load("@rules_rust//rust:defs.bzl", "rust_library")
load("//python/private:distribution_filegroup.bzl", "distribution_filegroup") # buildifier: disable=bzl-visibility

package(default_visibility = ["//:__subpackages__"])

licenses(["notice"])

rust_library(
name = "wheel_record_rewriter_lib",
srcs = ["src/lib.rs"],
edition = "2024",
deps = [
"@crates//:anyhow",
"@crates//:csv",
"@crates//:lexopt",
],
)

distribution_filegroup(
name = "distribution",
)
Loading
Loading