configure¶
- lsst.sconsUtils.dependencies.configure(packageName, versionString=None, eupsProduct=None, eupsProductPath=None, noCfgFile=False)¶
Recursively configure a package using ups/.cfg files.
Aliased as
lsst.sconsUtils.configure.Usually, LSST packages will call this function through
BasicSConstruct.- Parameters:
- packageName
str Name of the package being built; must correspond to a
.cfgfile in theupsdirectory.- versionString
str, optional Version-control system string to be parsed for version information (
$HeadURL$for SVN).- eupsProduct
str, optional Name of the EUPS product being built. Defaults to and is almost always the name of the package.
- eupsProductPath
str, optional An alternate directory where the package should be installed.
- noCfgFile
bool If True, this package has no
.cfgfile.
- packageName
- Returns:
- env
SCons.Environment An SCons Environment object (which is also available as
lsst.sconsUtils.env).
- env