Skip to content

Commit

Permalink
Merge pull request #1198 from messense/fix-sdist-maturin
Browse files Browse the repository at this point in the history
Fix sdist build for maturin itself
  • Loading branch information
messense authored Oct 14, 2022
2 parents 4cbdccc + 3ba5bea commit 71b54eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/source_distribution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ pub fn source_distribution(
debug!("Ignoring {}", source.display());
continue;
}
let source = fs::canonicalize(source)?;
let target = root_dir.join(source.strip_prefix(&pyproject_dir)?);
if source.is_dir() {
writer.add_directory(target)?;
Expand Down

0 comments on commit 71b54eb

Please sign in to comment.