Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nanopb/nanopb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2023-10-26 12:26:15 +0300
committerPetteri Aimonen <jpa@github.mail.kapsi.fi>2023-10-27 13:37:50 +0300
commit6bbb70af1a7dc47e737957e1ad469581dcbf99f6 (patch)
tree2dd2b40297ea4c0b0f736669215226b03e9c4933 /extra/script_wrappers/nanopb_generator.py
parentf5593b78ba0984c8a4d8382f93b17ee7dd490ba8 (diff)
CMake: Installation improvements.
- Allow installed nanopb_generator.py wrapper script find the module by relative path. - Install include files under `nanopb` subdirectory.
Diffstat (limited to 'extra/script_wrappers/nanopb_generator.py')
-rwxr-xr-xextra/script_wrappers/nanopb_generator.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/extra/script_wrappers/nanopb_generator.py b/extra/script_wrappers/nanopb_generator.py
deleted file mode 100755
index 493a91f..0000000
--- a/extra/script_wrappers/nanopb_generator.py
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/usr/bin/env python3
-# This script is a wrapper to invoke nanopb_generator from an installed Python module.
-import sys
-from nanopb.generator.nanopb_generator import main_cli, main_plugin
-if __name__ == '__main__':
- sys.exit(main_cli())