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:
packageNamestr

Name of the package being built; must correspond to a .cfg file in the ups directory.

versionStringstr, optional

Version-control system string to be parsed for version information ($HeadURL$ for SVN).

eupsProductstr, optional

Name of the EUPS product being built. Defaults to and is almost always the name of the package.

eupsProductPathstr, optional

An alternate directory where the package should be installed.

noCfgFilebool

If True, this package has no .cfg file.

Returns:
envSCons.Environment

An SCons Environment object (which is also available as lsst.sconsUtils.env).