xpybuild.utils.buildfilelocation¶
Support for identifying the location of the XXX.xpybuild.py
file currently being parsed.
BuildFileLocation¶
-
class
xpybuild.utils.buildfilelocation.
BuildFileLocation
(raiseOnError=False)[source]¶ Bases:
object
Represents information about a location in the user’s build file.
Constructs a new instance by inspecting the stack to find what part of the build file we’re currently processing.
This should only be used during the parsing phase, an empty location will be returned if this is called while building or dependency checking a target.
- Parameters
raiseOnError – if False, creates a BuildFileLocation with None for the buildFile/buildDir if we are not currently parsing any included build files.