File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -740,18 +740,6 @@ def setup_python_env(self, env):
740
740
# Update SCons environment with centrally configured Python executable
741
741
env .Replace (PYTHONEXE = self ._penv_python )
742
742
return self ._penv_python , self ._esptool_path
743
-
744
- # This should not happen, but provide fallback
745
- logger .warning ("Penv not set up in configure_default_packages, setting up now" )
746
-
747
- # Fallback to minimal setup if centralized configuration failed
748
- config = ProjectConfig .get_instance ()
749
- core_dir = config .get ("platformio" , "core_dir" )
750
- penv_python , esptool_path = setup_penv_minimal (self , core_dir , install_esptool = True )
751
- self ._penv_python = penv_python
752
- self ._esptool_path = esptool_path
753
- env .Replace (PYTHONEXE = penv_python )
754
- return penv_python , esptool_path
755
743
756
744
def configure_default_packages (self , variables : Dict , targets : List [str ]) -> Any :
757
745
"""Main configuration method with optimized package management."""
You can’t perform that action at this time.
0 commit comments