fix: site-packages + dist check for frontend

build, fix ruff blank lines
This commit is contained in:
Roland Tannous 2026-03-13 20:13:34 +00:00
commit bf54225f86

View file

@ -19,7 +19,6 @@ STUDIO_HOME = Path.home() / ".unsloth" / "studio"
_PACKAGE_ROOT = Path(__file__).resolve().parent.parent.parent
def _studio_venv_python() -> Optional[Path]:
"""Return the studio venv Python binary, or None if not set up."""
if platform.system() == "Windows":
@ -50,7 +49,6 @@ def _find_run_py() -> Optional[Path]:
return None
def _find_setup_script() -> Optional[Path]:
"""Find studio/setup.sh or studio/setup.ps1.