Skip to content

Commit 129c6f6

Browse files
authored
Revert "Using --build-backend in uv init implies --package (#8837)" (#8850)
This reverts commit 515993c from #8837 as it was already implemented differently in #8593 and I missed it
1 parent 8963de2 commit 129c6f6

File tree

1 file changed

+1
-1
lines changed
  • crates/uv/src/commands/project

1 file changed

+1
-1
lines changed

crates/uv/src/commands/project/init.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ impl InitProjectKind {
643643
let mut pyproject = pyproject_project(name, requires_python, author.as_ref(), no_readme);
644644

645645
// Include additional project configuration for packaged applications
646-
if package || build_backend.is_some() {
646+
if package {
647647
// Since it'll be packaged, we can add a `[project.scripts]` entry
648648
pyproject.push('\n');
649649
pyproject.push_str(&pyproject_project_scripts(name, name.as_str(), "main"));

0 commit comments

Comments
 (0)