xpybuild.utilsΒΆ

Contains utility functions and classes for use in build files and custom target classes, such as xpybuild.utils.fileutils and xpybuild.utils.outputhandler.ProcessOutputHandler.

xpybuild.utils.antglob

Ant-style **/* globbing functionality, as used by xpybuild.pathsets.FindPaths.

xpybuild.utils.buildexceptions

The xpybuild.utils.buildexceptions.BuildException class used for (non-internal) problems encountered while building.

xpybuild.utils.buildfilelocation

Support for identifying the location of the XXX.xpybuild.py file currently being parsed.

xpybuild.utils.compilers

Support classes for the C/C++ native compiler chain, used by the xpybuild.targets.native module.

xpybuild.utils.consoleformatter

Pluggable classes for customizing the format that xpybuild uses when writing log messages to stdout (for example, for Teamcity, make, Visual Studio, etc).

xpybuild.utils.fileutils

Functions for manipulating files and paths including xpybuild.utils.fileutils.openForWrite, xpybuild.utils.fileutils.mkdir, xpybuild.utils.fileutils.toLongPathSafe and xpybuild.utils.fileutils.parsePropertiesFile.

xpybuild.utils.flatten

Utility functions for normalizing and flattening deeply nested lists.

xpybuild.utils.functors

Contains xpybuild.utils.functors.Composable and associated classes for creating late-binding functions/functors.

xpybuild.utils.java

Support classes for the Java targets in xpybuild.targets.java.

xpybuild.utils.outputhandler

Contains xpybuild.utils.outputhandler.ProcessOutputHandler which targets use to parse the output from subprocesses and decide whether warnings, errors or fatal build failures should be raised as a result.

xpybuild.utils.process

Support functions for invoking processes from targets.

xpybuild.utils.progress

Console formatter classes that write a progress bar to stdout as xpybuild runs.

xpybuild.utils.stringutils

Utility functions for manipulating strings, such as xpybuild.utils.stringutils.compareVersions.

xpybuild.utils.terminal

Utility functions for getting information about the stdout terminal, which may be useful when implementing console formatters.