![]() |
The Gaudi Framework
v26r3
|
Classes | |
class | LogFile |
Functions | |
def | main () |
def | filename_match |
def | expand_source_dir |
def | remove (file, logdir) |
def | getCommonPath (dirname, filename) |
def | getRelativePath (dirname, filename) |
def | update |
def | install |
def | uninstall |
Variables | |
string | _version = "$Id: install.py,v 1.15 2008/10/28 17:24:39 marcocle Exp $" |
def install.expand_source_dir | ( | source, | |
destination, | |||
exclusions = [] , |
|||
destname = None , |
|||
logdir = realpath(".") |
|||
) |
def install.filename_match | ( | name, | |
patterns, | |||
default = False |
|||
) |
Check if the name is matched by any of the patterns in exclusions.
Definition at line 115 of file install.py.
def install.getCommonPath | ( | dirname, | |
filename | |||
) |
Definition at line 176 of file install.py.
def install.getRelativePath | ( | dirname, | |
filename | |||
) |
calculate the relative path of filename with regards to dirname
Definition at line 195 of file install.py.
def install.install | ( | sources, | |
destination, | |||
logfile, | |||
exclusions = [] , |
|||
destname = None , |
|||
syml = False , |
|||
logdir = realpath(".") |
|||
) |
Copy sources to destination keeping track of what has been done in logfile. The destination must be a directory and sources are copied into it. If exclusions is not empty, the files matching one of its elements are not copied.
Definition at line 250 of file install.py.
def install.main | ( | ) |
Definition at line 27 of file install.py.
def install.remove | ( | file, | |
logdir | |||
) |
Definition at line 153 of file install.py.
def install.uninstall | ( | logfile, | |
destinations = [] , |
|||
logdir = realpath(".") |
|||
) |
Remove copied files using logfile to know what to remove. If destinations is not empty, only the files/directories specified are removed.
Definition at line 290 of file install.py.
def install.update | ( | src, | |
dest, | |||
old_dest = None , |
|||
syml = False , |
|||
logdir = realpath(".") |
|||
) |
Definition at line 213 of file install.py.
string install._version = "$Id: install.py,v 1.15 2008/10/28 17:24:39 marcocle Exp $" |
Definition at line 17 of file install.py.