Gaudi Framework, version v23r6

Home   Generated: Wed Jan 30 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
EnvConfig.Variable.UsePythonZip Class Reference
Inheritance diagram for EnvConfig.Variable.UsePythonZip:
Inheritance graph
[legend]
Collaboration diagram for EnvConfig.Variable.UsePythonZip:
Collaboration graph
[legend]

Public Member Functions

def isTarget
 
def process
 
- Public Member Functions inherited from EnvConfig.Variable.ListProcessor
def isTarget
 
- Public Member Functions inherited from EnvConfig.Variable.VariableProcessor
def __init__
 
def isTarget
 
def process
 
def __call__
 

Detailed Description

Use .zip files instead of regular directories in PYTHONPATH when possible.

Definition at line 125 of file Variable.py.

Member Function Documentation

def EnvConfig.Variable.UsePythonZip.isTarget (   self,
  variable 
)

Definition at line 129 of file Variable.py.

130  def isTarget(self, variable):
131  return (super(UsePythonZip, self).isTarget(variable)
132  and variable.varName == 'PYTHONPATH')
def EnvConfig.Variable.UsePythonZip.process (   self,
  variable,
  value 
)

Definition at line 133 of file Variable.py.

134  def process(self, variable, value):
135  val = []
136  for s in value:
137  z = s + '.zip'
138  if is_zipfile(z):
139  val.append(z)
140  else:
141  val.append(s)
142  return val
143 
# Default (minimal) set of processors.

The documentation for this class was generated from the following file:
Generated at Wed Jan 30 2013 17:13:49 for Gaudi Framework, version v23r6 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004