src.compiler_handler module¶
CompilerHandler implementation
- class src.compiler_handler.CompilerHandler(files: dict[str, list[Path]], compiler: CompilerWrapper, clean_source: bool = False, keep_builds: bool = True)¶
Bases:
objectCompilerHandler is responsible for compiling all the
.pyfiles usingCythonorNuitkaexample usage:compiler_handler = CompilerHandler(files=dir_files,compiler=compiler, clean_source=True,keep_builds=True) compiler_handler.start()
- clean_executables() None¶
Cleans all the .so files.
- start() None¶
For each
.pyfile runs the compiler command to build the final executable.so