$ pip install pybombs
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: pybombs in /usr/local/lib/python2.7/dist-packages (2.3.3)
Requirement already satisfied: future in /usr/local/lib/python2.7/dist-packages (from pybombs) (0.17.1)
Requirement already satisfied: ruamel.yaml in /usr/local/lib/python2.7/dist-packages (from pybombs) (0.16.5)
Requirement already satisfied: setuptools in /usr/lib/python2.7/dist-packages (from pybombs) (20.7.0)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from pybombs) (1.10.0)
Requirement already satisfied: requests in /usr/lib/python2.7/dist-packages (from pybombs) (2.9.1)
Requirement already satisfied: ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.8" in /usr/local/lib/python2.7/dist-packages (from ruamel.yaml->pybombs) (0.1.2)
Requirement already satisfied: ruamel.ordereddict; platform_python_implementation == "CPython" and python_version <= "2.7" in /usr/local/lib/python2.7/dist-packages (from ruamel.yaml->pybombs) (0.4.14)
$ pybombs -v recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
PyBOMBS.ConfigManager - DEBUG - Reading config info from file: /etc/pybombs/config.yml
PyBOMBS.ConfigManager - DEBUG - New config items: {}
PyBOMBS.ConfigManager - DEBUG - Reading config info from file: /home/gnuradio/.pybombs/config.yml
Traceback (most recent call last):
File "/usr/local/bin/pybombs", line 6, in <module>
from pybombs.main import main
File "/usr/local/lib/python2.7/dist-packages/pybombs/main.py", line 26, in <module>
from pybombs.commands import dispatch
File "/usr/local/lib/python2.7/dist-packages/pybombs/commands/__init__.py", line 23, in <module>
from .base import CommandBase, SubCommandBase, dispatch
File "/usr/local/lib/python2.7/dist-packages/pybombs/commands/base.py", line 27, in <module>
from pybombs.config_manager import config_manager
File "/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py", line 707, in <module>
config_manager = ConfigManager()
File "/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py", line 320, in __init__
self.load(select_prefix)
File "/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py", line 361, in load
if self._append_cfg_from_file(self.local_cfg):
File "/usr/local/lib/python2.7/dist-packages/pybombs/config_manager.py", line 445, in _append_cfg_from_file
cfg_data = PBConfigFile(cfg_filename).get()
File "/usr/local/lib/python2.7/dist-packages/pybombs/config_file.py", line 87, in __init__
raise PBException("Error loading {0}: {1}".format(filename, str(e)))
pybombs.pb_exception.PBException: Error loading /home/gnuradio/.pybombs/config.yml: while constructing a mapping
in "<byte string>", line 11, column 7:
gitrev: master
^ (line: 11)
found duplicate key "vars" with value "ordereddict([('config_opt', ' -DWITH_IIOD:BOOL=OFF -DINSTALL_UDEV_RULE:BOOL=OFF ')])" (original value: "ordereddict([('config_opt', ' -DWITH_IIOD:BOOL=OFF -DINSTALL_UDEV_RULE:BOOL=OFF ')])")
in "<byte string>", line 16, column 7:
vars:
^ (line: 16)
To suppress this check see:
http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys
Duplicate keys will become an error in future releases, and are errors
by default when using the new API.
Regards.