DirectoryInstaller

class lsst.sconsUtils.installation.DirectoryInstaller(ignoreRegex, recursive)

Bases: object

SCons Action callable to recursively install a directory.

This is separate from the InstallDir function to allow the directory-walking to happen when installation is actually invoked, rather than when the SConscripts are parsed. This still does not ensure that all necessary files are built as prerequisites to installing, but if one explicitly marks the install targets as dependent on the build targets, that should be enough.

Parameters:
ignoreRegexstr

Regular expression to use to ignore files and directories.

recursivebool

Control whether to recurse through directories.

Methods Summary

__call__(target, source, env)

Call self as a function.

Methods Documentation

__call__(target, source, env)

Call self as a function.