temci.setup package

Submodules

temci.setup.setup module

This module helps to build the C and C++ code in the scripts directory.

exception temci.setup.setup.ExecError(cmd: str, out: str, err: str)[source]

Bases: BaseException

Error raised if a command failed.

cmd = None

Failed command

err = None

Error output of the command

out = None

Output of the command

temci.setup.setup.exec(dir: str, cmd: str)[source]

Run the passed command in the passed directory

Parameters:
  • dir – passed directory
  • cmd – passed command
Raises:

ExecError – if the executed program has a > 0 error code

temci.setup.setup.make_scripts()[source]

Builds the C and C++ code inside the scripts directory.

temci.setup.setup.script_relative(file: str) → str[source]

Returns the absolute version of the passed file name. :param file: passed file name relative to the scripts directory

Module contents