diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2022-11-21 17:42:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 17:42:02 +0300 |
commit | 6078525df5a28a77c920c3bd91611b190d4ce1b2 (patch) | |
tree | 758f5bbfcb9f73dca26a334087126f5fe66137df | |
parent | 605b44c0e9d24e1bf8ff94abf5d863e5f7beb4e6 (diff) | |
parent | 1a54fa1560000d29c4c6b67e100ebd3f46ba8356 (diff) |
Merge pull request #834 from ivankravets/patch-6
Escape Python path (solve issue with a space)
-rw-r--r-- | generator/platformio_generator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generator/platformio_generator.py b/generator/platformio_generator.py index 9fbbbbf..53e7c64 100644 --- a/generator/platformio_generator.py +++ b/generator/platformio_generator.py @@ -12,7 +12,7 @@ except ImportError: env.VerboseAction( # We need to speicify protobuf version. In other case got next (on Ubuntu 20.04): # Requirement already satisfied: protobuf in /usr/lib/python3/dist-packages (3.6.1) - '$PYTHONEXE -m pip install "protobuf>=3.19.1"', + '"$PYTHONEXE" -m pip install "protobuf>=3.19.1"', "Installing Protocol Buffers dependencies", ) ) @@ -22,7 +22,7 @@ try: except ImportError: env.Execute( env.VerboseAction( - '$PYTHONEXE -m pip install "grpcio-tools>=1.43.0"', + '"$PYTHONEXE" -m pip install "grpcio-tools>=1.43.0"', "Installing GRPC dependencies", ) ) |