Skip to content

Commit

Permalink
Don't add wheel data to sdist (#2367)
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored Dec 4, 2024
1 parent e403fdf commit ba4d482
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/source_distribution.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::module_writer::{add_data, ModuleWriter};
use crate::module_writer::ModuleWriter;
use crate::pyproject_toml::SdistGenerator;
use crate::{pyproject_toml::Format, BuildContext, PyProjectToml, SDistWriter};
use anyhow::{bail, Context, Result};
Expand Down Expand Up @@ -811,7 +811,6 @@ pub fn source_distribution(
metadata23.to_file_contents()?.as_bytes(),
)?;

add_data(&mut writer, build_context.project_layout.data.as_deref())?;
let source_distribution_path = writer.finish()?;

eprintln!(
Expand Down

0 comments on commit ba4d482

Please sign in to comment.