fix inverted log message (#7063)

This commit is contained in:
Alex Gaynor
2024-09-04 22:42:08 -04:00
committed by GitHub
parent e7a7a813fb
commit 6648a9b940
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -436,7 +436,7 @@ async fn build_impl(
BuiltDistributions::Both(output_dir.join(&sdist), output_dir.join(&wheel))
}
BuildPlan::WheelFromSdist => {
anstream::eprintln!("{}", "Building source distribution from wheel...".bold());
anstream::eprintln!("{}", "Building wheel from source distribution...".bold());
// Extract the source distribution into a temporary directory.
let reader = fs_err::tokio::File::open(src.path()).await?;
+2 -2
View File
@@ -758,7 +758,7 @@ fn wheel_from_sdist() -> Result<()> {
----- stdout -----
----- stderr -----
Building source distribution from wheel...
Building wheel from source distribution...
running egg_info
writing src/project.egg-info/PKG-INFO
writing dependency_links to src/project.egg-info/dependency_links.txt
@@ -815,7 +815,7 @@ fn wheel_from_sdist() -> Result<()> {
----- stdout -----
----- stderr -----
Building source distribution from wheel...
Building wheel from source distribution...
error: `dist/project-0.1.0-py3-none-any.whl` is not a valid build source. Expected to receive a source directory, or a source distribution ending in one of: `.zip`, `.tar.gz`, `.tar.bz2`, `.tar.xz`, or `.tar.zst`.
"###);