From 696537bf743c9578663d720e8d7353655f99d603 Mon Sep 17 00:00:00 2001 From: "Patterson, Kevin R" Date: Mon, 17 Jul 2023 10:15:28 -0500 Subject: [PATCH] remove __init__.py requirement --- src/project_layout.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/project_layout.rs b/src/project_layout.rs index 5bcd6312f..4fe574f88 100644 --- a/src/project_layout.rs +++ b/src/project_layout.rs @@ -387,11 +387,6 @@ impl ProjectLayout { }; if python_module.is_dir() { - if !python_module.join("__init__.py").is_file() - && !python_module.join("__init__.pyi").is_file() - { - bail!("Found a directory with the module name ({}) next to Cargo.toml, which indicates a mixed python/rust project, but the directory didn't contain an __init__.py file.", module_name) - } eprintln!("🍹 Building a mixed python/rust project");