LSSTApplications
16.0-10-g0ee56ad+4,16.0-11-ga33d1f2+4,16.0-12-g3ef5c14+2,16.0-12-g71e5ef5+17,16.0-12-gbdf3636+2,16.0-13-g118c103+2,16.0-13-g8f68b0a+2,16.0-15-gbf5c1cb+3,16.0-16-gfd17674+2,16.0-17-g7c01f5c+2,16.0-18-g0a50484,16.0-20-ga20f992+7,16.0-21-g0e05fd4+5,16.0-21-g15e2d33+3,16.0-22-g62d8060+3,16.0-22-g847a80f+3,16.0-25-gf00d9b8,16.0-28-g3990c221+3,16.0-3-gf928089+2,16.0-32-g88a4f23+4,16.0-34-gd7987ad+2,16.0-37-gc7333cb+1,16.0-4-g10fc685+1,16.0-4-g18f3627+25,16.0-4-g5f3a788+25,16.0-5-gaf5c3d7+3,16.0-5-gcc1f4bb,16.0-6-g3b92700+3,16.0-6-g4412fcd+2,16.0-6-g7235603+3,16.0-69-g2562ce1b+1,16.0-7-g0913a87,16.0-8-g14ebd58+3,16.0-8-g2df868b,16.0-8-g4cec79c+5,16.0-8-gadf6c7a,16.0-82-g59ec2a54a,16.0-9-g5400cdc+1,16.0-9-ge6233d7+4,master-g2880f2d8cf+2,v17.0.rc1
LSSTDataManagementBasePackage
|
Classes | |
class | DirectoryInstaller |
SCons Action callable to recursively install a directory. More... | |
Functions | |
def | makeProductPath (env, pathFormat) |
return a path to use as the installation directory for a product More... | |
def | determineVersion (env, versionString) |
def | getFingerprint (versionString) |
def | setPrefix (env, versionString, eupsProductPath=None) |
def | Declare (self, products=None) |
Create current and declare targets for products. More... | |
def | InstallDir (self, prefix, dir, ignoreRegex=r"(~$|\yc$|\s?$)", recursive=True) |
Install the directory dir into prefix, (along with all its descendents if recursive is True). More... | |
def | InstallEups (env, dest, files=[], presetup="") |
Install a ups directory, setting absolute versions as appropriate (unless you're installing from the trunk, in which case no versions are expanded). More... | |
def | InstallLSST (self, prefix, dirs, ignoreRegex=None) |
def lsst.sconsUtils.installation.Declare | ( | self, | |
products = None |
|||
) |
Create current and declare targets for products.
products may be a list of (product, version) tuples. If product is None it's taken to be self['eupsProduct']; if version is None it's taken to be self['version'].
Definition at line 142 of file installation.py.
def lsst.sconsUtils.installation.determineVersion | ( | env, | |
versionString | |||
) |
Definition at line 47 of file installation.py.
def lsst.sconsUtils.installation.getFingerprint | ( | versionString | ) |
Definition at line 75 of file installation.py.
def lsst.sconsUtils.installation.InstallDir | ( | self, | |
prefix, | |||
dir, | |||
ignoreRegex = r"(~$|\.pyc$|\.os?$)" , |
|||
recursive = True |
|||
) |
Install the directory dir into prefix, (along with all its descendents if recursive is True).
Omit files and directories that match ignoreRegex
Definition at line 268 of file installation.py.
def lsst.sconsUtils.installation.InstallEups | ( | env, | |
dest, | |||
files = [] , |
|||
presetup = "" |
|||
) |
Install a ups directory, setting absolute versions as appropriate (unless you're installing from the trunk, in which case no versions are expanded).
Any build/table files present in "./ups" are automatically added to files.
If presetup is provided, it's expected to be a dictionary with keys product names and values the version that should be installed into the table files, overriding eups expandtable's usual behaviour. E.g. env.InstallEups(os.path.join(env['prefix'], "ups"), presetup={"sconsUtils" : env['version']})
Definition at line 291 of file installation.py.
def lsst.sconsUtils.installation.InstallLSST | ( | self, | |
prefix, | |||
dirs, | |||
ignoreRegex = None |
|||
) |
Definition at line 379 of file installation.py.
def lsst.sconsUtils.installation.makeProductPath | ( | env, | |
pathFormat | |||
) |
return a path to use as the installation directory for a product
pathFormat | the format string to process |
env | the scons environment |
Definition at line 30 of file installation.py.
def lsst.sconsUtils.installation.setPrefix | ( | env, | |
versionString, | |||
eupsProductPath = None |
|||
) |
Definition at line 90 of file installation.py.