lsst.sconsUtils  14.0-11-gf233161
Classes | Namespaces | Functions
utils.py File Reference

Internal utilities for sconsUtils. More...

Classes

class  lsst.sconsUtils.utils.Log
 A dead-simple logger for all messages. More...
 

Namespaces

 lsst.sconsUtils.utils
 

Functions

def lsst.sconsUtils.utils.libraryPathPassThrough ()
 Returns name of library path environment variable to be passed through or else returns None if no pass through is required on this platform. More...
 
def lsst.sconsUtils.utils.whichPython ()
 Returns the full path to the Python executable as determined from the PATH. More...
 
def lsst.sconsUtils.utils.needShebangRewrite ()
 Returns True if the shebang lines of executables should be rewritten. More...
 
def lsst.sconsUtils.utils.libraryLoaderEnvironment ()
 Returns library loader path environment string to be prepended to external commands Will be "" if nothing is required. More...
 
def lsst.sconsUtils.utils.runExternal (cmd, fatal=False, msg=None)
 Safe wrapper for running external programs, reading stdout, and sanitizing error messages. More...
 
def lsst.sconsUtils.utils.memberOf (cls, name=None)
 A Python decorator that injects functions into a class. More...
 

Detailed Description

Internal utilities for sconsUtils.