Skip to content

Commit

Permalink
Use eprintln instead of warn
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Nov 8, 2022
1 parent d8b49b9 commit 3535530
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/source_distribution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,9 @@ pub fn source_distribution(

#[allow(deprecated)]
if let Some(include_targets) = pyproject.sdist_include() {
warn!("`[tool.maturin.sdist-include]` is deprecated, please use `[tool.maturin.include]`");
eprintln!(
"`[tool.maturin.sdist-include]` is deprecated, please use `[tool.maturin.include]`"
);
for pattern in include_targets {
include(pattern.as_str())?;
}
Expand Down

0 comments on commit 3535530

Please sign in to comment.