fix inverted log message (#7063)
This commit is contained in:
@@ -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?;
|
||||
|
||||
@@ -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`.
|
||||
"###);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user