diff --git a/crates/uv/src/commands/project/init.rs b/crates/uv/src/commands/project/init.rs index 8498a85fd..f0144b070 100644 --- a/crates/uv/src/commands/project/init.rs +++ b/crates/uv/src/commands/project/init.rs @@ -643,7 +643,7 @@ impl InitProjectKind { let mut pyproject = pyproject_project(name, requires_python, author.as_ref(), no_readme); // Include additional project configuration for packaged applications - if package || build_backend.is_some() { + if package { // Since it'll be packaged, we can add a `[project.scripts]` entry pyproject.push('\n'); pyproject.push_str(&pyproject_project_scripts(name, name.as_str(), "main"));