mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
[Build] Fix install-requirements script on Windows
This commit is contained in:
@@ -11,6 +11,7 @@ except ImportError:
|
||||
# Activate the Python environment penv and install the requirements there when not yet available
|
||||
# Windows is different from other OS-es, assuming Powershell as default shell, not CMD (where separator: & instead of ;)
|
||||
if os.name == "nt":
|
||||
env.Execute(".\.platformio\penv\Scripts\activate ; uv pip install -r requirements.txt")
|
||||
env.Execute(".\\.platformio\\penv\\Scripts\\activate")
|
||||
env.Execute("uv pip install -r requirements.txt")
|
||||
else:
|
||||
env.Execute(". .platformio/penv/bin/activate ; uv pip install -r requirements.txt")
|
||||
|
||||
Reference in New Issue
Block a user