Searched +full:python +full:- +full:is +full:- +full:python3 (Results 1 – 8 of 8) sorted by relevance
8 - '**.py'11 - '**.py'15 name: Test with Python 3 on Ubuntu 20.0416 runs-on: ubuntu-20.0419 - name: Check out code from GitHub23 fetch-depth: "0"25 - name: Install dependencies from apt-get28 sudo apt-get update29 sudo apt-get install python3-protobuf protobuf-compiler scons python-is-python331 - name: Run tests with Python 3
4 # for Windows users. This script is designed to run under MingW/MSYS bash7 set -e8 set -x10 VERSION=`git describe --always`-windows-x8613 rm -rf $DEST14 mkdir -p $DEST17 git archive HEAD | tar x -C $DEST19 # Rebuild the Python .proto files and .pyc20 ( cd $DEST/generator; python3 nanopb_generator.py ||: )22 # Package the Python libraries[all …]
1 #!/usr/bin/env python32 # This file acts as a drop-in replacement of binary protoc.exe.3 # It will use either Python-based protoc from grpcio-tools package,4 # or if it is not available, protoc.exe from path if found.10 # Depending on how this script is run, we may or may not have PEP366 package name18 # Get path of the directory where this script is stored.30 # Add argument for finding the nanopb generator when using --nanopb_out=32 if os.path.isfile(os.path.join(mypath, "protoc-gen-nanopb.exe")):33 protoc_gen_nanopb = os.path.join(mypath, "protoc-gen-nanopb.exe")35 protoc_gen_nanopb = os.path.join(mypath, "protoc-gen-nanopb.bat")[all …]
1 #!/usr/bin/env python32 # kate: replace-tabs on; indent-width 4;7 nanopb_version = "nanopb-1.0.0-dev"20 # Python-protobuf breaks easily with protoc version differences if21 # using the cpp or upb implementation. Force it to use pure Python22 # implementation. Performance is not very important in the generator.24 os.putenv("PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION", "python")25 os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = "python"28 # Make sure grpc_tools gets included in binary package if it is available42 *** Could not import the Google protobuf Python libraries ***[all …]
5 set(nanopb_VERSION_STRING ${PROJECT_NAME}-${${PROJECT_NAME}_VERSION}-dev)8 string(REPLACE "nanopb-" "" nanopb_VERSION ${nanopb_VERSION_STRING})17 set(nanopb_PYTHON_INSTDIR_OVERRIDE "" CACHE PATH "Override the default python installation director…19 find_program(nanopb_PROTOC_PATH protoc PATHS generator-bin generator NO_DEFAULT_PATH)45 # Determine Python module installation path47 find_package(Python REQUIRED COMPONENTS Interpreter)52 message(STATUS "Python install dir: ${PYTHON_INSTDIR}")54 # Package nanopb generator as Python module 'nanopb'56 # Copy Python code files related to the generator58 COMMAND ${CMAKE_COMMAND} -E make_directory[all …]
1 nanopb-0.4.9.1 (2024-12-01)2 Fix memory not released on error return from pb_decode_ex() (GHSA-xwqq-qxmw-hj5r)4 Fix compiler error with enums and --c-style (#1014)7 nanopb-0.4.9 (2024-09-19)9 Fix Python pkg_resources deprecation (#887)12 Discard autogenerated map entry types if the field is skipped (#956)26 nanopb-0.4.8 (2023-11-11)29 Use UTF-8 encoding for generated files irrespective of locale (#868)45 nanopb-0.4.7 (2022-12-11)51 Fix wrong format in Python Poetry project file (#811)[all …]
9 Nanopb-1.0.0 (2025-xx-xx)10 -------------------------12 ### Remove Python 2 support14 **Rationale:** Python 2 interpreter was deprecated in 2020. For backward16 Python 2 for the 0.4.x series. That has required several tricks that19 **Changes:** Removed Python 2 support files and code hacks needed to22 **Required actions:** Upgrade to Python 3 and ensure `python-protobuf`23 is installed.25 Nanopb-0.4.9 (2024-09-19)26 -------------------------[all …]
8 -------------17 ---------------------18 Normally, this script is used in the test environment of nanopb and it locates19 the nanopb generator by a relative path. If this script is used in another28 env.SetDefault(PROTOCFLAGS = "--plugin=protoc-gen-nanopb=path/to/protoc-gen-nanopb")63 '''Find Python executable to use.'''64 if 'PYTHON' in env:65 return env['PYTHON']67 p = env.WhereIs('python3')73 return env['ESCAPE'](p) + " -3"[all …]