lsst.sconsUtils 
The sconsUtils 
Python API reference 
Note
Many of the methods defined in this package are injected directly into the base SConsEnvironment.
The SConsUtilsEnvironment 
 
lsst.sconsUtils.scripts Module 
Classes 
 
BasicSConscript A scope-only class for SConscript-replacement convenience functions. 
BasicSConstruct A scope-only class for SConstruct-replacement convenience functions. 
 
 
 
lsst.sconsUtils.dependencies Module 
Functions 
 
configure Recursively configure a package using ups/.cfg files. 
 
 
Classes 
 
Configuration Base class for defining how to configure an LSST sconsUtils package. 
ExternalConfiguration A Configuration subclass for external (third-party) packages. 
PackageTree A class for loading and managing the dependency tree of a package, as defined by its configuration module (.cfg) file. 
 
 
Class Inheritance Diagram 
            Inheritance diagram of lsst.sconsUtils.dependencies.Configuration, lsst.sconsUtils.dependencies.ExternalConfiguration, lsst.sconsUtils.dependencies.PackageTree
 
 
 
lsst.sconsUtils.tests Module 
Classes 
 
Control A class to control and run unit tests. 
 
 
 
lsst.sconsUtils.installation Module 
Functions 
 
makeProductPath Return a path to use as the installation directory for a product. 
determineVersion Set a version ID from env, or a version control ID string ($name$ $HeadURL$  
getFingerprint Return a unique fingerprint for a version (e.g. 
setPrefix Set a prefix based on the EUPS_PATH, the product name, and a version string from CVS or SVN. 
 
 
Classes 
 
DirectoryInstaller SCons Action callable to recursively install a directory. 
SConsUtilsEnvironment Dummy class to make visible the methods injected into the SCons parent environment. 
 
 
Class Inheritance Diagram 
            Inheritance diagram of lsst.sconsUtils.installation.DirectoryInstaller, lsst.sconsUtils.installation.SConsUtilsEnvironment
 
 
 
lsst.sconsUtils.builders Module 
Functions 
 
filesToTag Return a list of files that need to be scanned for tags, starting at directory root. 
 
 
Classes 
 
DoxygenBuilder A callable to be used as an SCons Action to run Doxygen. 
 
 
 
lsst.sconsUtils.utils Module 
Functions 
 
_has_OSX_SIP Internal function indicating that the OS has System Integrity Protection. 
libraryPathPassThrough Name of library path environment variable to be passed throughself. 
whichPython Path of Python executable to use. 
needShebangRewrite Is shebang rewriting required? 
libraryLoaderEnvironment Calculate library loader path environment string to be prepended to external commands. 
runExternal Safe wrapper for running external programs, reading stdout, and sanitizing error messages. 
memberOf A Python decorator that injects functions into a class. 
get_conda_prefix Returns a copy of the current conda prefix, if available. 
 
 
Classes 
 
Log A dead-simple logger for all messages. 
 
 
 
 
Using sconsUtils conda  
If you would like to use sconsUtils conda SCONSUTILS_USE_CONDA_COMPILERS None sconsUtils conda