diff --git a/src/source_distribution.rs b/src/source_distribution.rs index b7af389d1..f7b87a8c3 100644 --- a/src/source_distribution.rs +++ b/src/source_distribution.rs @@ -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())?; }