nanopb 1.0.0.dev1499__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
nanopb/__init__.py ADDED
File without changes
File without changes
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env python3
2
+ # Allow calling nanopb_generator.py as simply nanopb_generator.
3
+ # This provides consistency with packages installed through CMake or pip.
4
+
5
+ from nanopb_generator import *
6
+ if __name__ == '__main__':
7
+ main_cli()
@@ -0,0 +1,5 @@
1
+ @echo off
2
+ :: Allow calling nanopb_generator.py as simply nanopb_generator.
3
+ :: This provides consistency with packages installed through CMake or pip.
4
+ set mydir=%~dp0
5
+ python "%mydir%\nanopb_generator.py" %*