ATLAS Offline Software
Loading...
Searching...
No Matches
envutil.py File Reference

Go to the source code of this file.

Namespaces

namespace  python
namespace  python.envutil

Functions

 python.envutil.has_wildcards (filename)
 python.envutil.find_file_split (filename, dirlist=[os.getcwd()], access=os.R_OK, depth=0)
 python.envutil.find_file (filename, dirlist=[os.getcwd()], access=os.R_OK, depth=0)
 python.envutil.find_files_split (filename, dirlist, access, depth)
 python.envutil.find_files (filename, dirlist, access, depth)
 python.envutil.find_file_env (filename, env_var_name, access=os.R_OK, sep=defaultPathSeps, depth=0)
 python.envutil.find_files_env (filename, env_var_name, access=os.R_OK, sep=defaultPathSeps, depth=0)
 python.envutil.find_libraries (lib)

Variables

str python.envutil.__doc__ = """Environment variables utilities"""
str python.envutil.LD_LIBRARY_PATH = 'LD_LIBRARY_PATH'
str python.envutil.filenameWildCards = r'\?|\*|\[.*\]'
 python.envutil.filenameWildCardsCompiled = re.compile(filenameWildCards)
str python.envutil.defaultPathSeps = os.pathsep + '|,'
 python.envutil._libraryNameRE = re.compile(r'\.so(\.[0-9]+)*$')
 python.envutil.filelist = glob.glob(filename)
 print ("Checking files %s..." % fullfile)
 python.envutil.dir = os.path.abspath( os.path.expandvars( os.path.expanduser(dir) ) )
 print ("Trying %s..." % f)
list python.envutil.subdirlist = []
 python.envutil.fulldir = os.path.join(dir,d)