Skip to content

Commit

Permalink
Tweak invalid version info error message
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Dec 30, 2024
1 parent cd7828f commit 0c5672c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/develop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,8 @@ pub fn develop(develop_options: DevelopOptions, venv_dir: &Path) -> Result<()> {
.as_ref()
.is_some_and(|p| !p.warn_invalid_version_info())
{
bail!("Cannot build source distribution without valid version information. \
You need to specify either `project.version` or `project.dynamic = ['version']` in pyproject.toml.");
bail!("Cannot build without valid version information. \
You need to specify either `project.version` or `project.dynamic = [\"version\"]` in pyproject.toml.");
}

let interpreter =
Expand Down

0 comments on commit 0c5672c

Please sign in to comment.