summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/core/bind.py
Commit message (Collapse)AuthorAgeFilesLines
* utils: pep8 formattingJosh Morman2021-11-241-6/+9
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* modtool: move OOTs equal to components for 3.10 mormj2021-11-241-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modtool: move OOTs equal to components for 3.10 Signed-off-by: Josh Morman <jmorman@gnuradio.org> * pybind: update some python dir references Signed-off-by: Josh Morman <jmorman@gnuradio.org> * cmake: have pybind address the correct header Signed-off-by: Josh Morman <jmorman@gnuradio.org> * runtime: extend the python search path allow OOT modules to be installed in other places in PYTHONPATH that have a gnuradio directory Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: update python paths for rm Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: minor fixes for new dir structure Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: update the installed cmake targets Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: add include(CMakePackageConfigHelpers) Signed-off-by: Josh Morman <jmorman@gnuradio.org> * modtool: test_modules dir under gnuradio Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* modtool: complete renaming of update-hash-onlyJosh Morman2021-10-261-3/+3
| | | | Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* modtool: ability to fix the hash using modtoolmormj2021-10-221-4/+9
| | | | | | * modtool: bind --update-hash-only command Signed-off-by: Josh Morman <jmorman@gnuradio.org>
* modtool: Fix TypeErrorSolomon Tan2021-06-161-4/+13
| | | | | | | Fixes #4682, a bug triggered in the `rm` and `bind` commands when the block name (or regex) is entered as stdin rather than an argument. Signed-off-by: Solomon Tan <solomonbstoner@yahoo.com.au>
* Make additional includes and defines available in the bind processVolker Schroer2020-10-281-1/+4
|
* Adding optional parameter addl_includes to gr_modtool bind, space addedVolker Schroer2020-10-151-1/+2
|
* python: Remove unnecessary 'from __future__ import'Oleksandr Kravchuk2020-08-031-3/+0
| | | | | | | | | | | | | | | | All of the removed `from __future__ import` were needed in older versions of Python (mostly 2.5.x and below) but later became mandatory in most versions of Python 3 hence are not necessary anymore. More specifically, according to __future__.py[1]: - unicode_literals is part of Python since versions 2.6.0 and 3.0.0; - print_function is part of Python since versions 2.6.0 and 3.0.0; - absolute_import is part of Python since versions 2.5.0 and 3.0.0; - division is part of Python since versions 2.2.0 and 3.0.0; Get rid of those unnecessary imports to slightly clean up the codebase. [1] https://github.com/python/cpython/blob/master/Lib/__future__.py
* utils: add functionality to generate bindingsJosh Morman2020-06-041-0/+65
This currently exists in two places 1) Bindtool (longevity TBD) which calls blocktool to parse the public header file in the include directory 2) Modtool - binding of headers added to add and bind. rm, update, info, etc still TODO