pyccel.commands.pyccel_config module

pyccel.commands.pyccel_config module#

Module containing scripts to manage compilation information.

pyccel.commands.pyccel_config.pyccel_config(config_func, **kwargs)[source]#

Call the correct configuration sub-command.

Call the correct configuration sub-command. This function is used to fit the generic call structure used in console.py.

Parameters:
  • config_func (function) – The function that should be called to enact the sub-command.

  • **kwargs (Any) – The arguments that should be passed to the function.

pyccel.commands.pyccel_config.setup_pyccel_config_parser(parser)[source]#

Add the pyccel config arguments to the parser.

Add the pyccel config arguments to the parser for command line arguments.

Parameters:

parser (argparse.ArgumentParser) – The parser to be modified.