Gaudi Framework, version v25r0

Home   Generated: Mon Feb 17 2014
 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 130 of file Variable.py.

Member Function Documentation

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

Definition at line 134 of file Variable.py.

135  def isTarget(self, variable):
136  return (super(UsePythonZip, self).isTarget(variable)
137  and variable.varName == 'PYTHONPATH')
def EnvConfig.Variable.UsePythonZip.process (   self,
  variable,
  value 
)

Definition at line 138 of file Variable.py.

139  def process(self, variable, value):
140  val = []
141  for s in value:
142  z = s + '.zip'
143  if is_zipfile(z):
144  val.append(z)
145  else:
146  val.append(s)
147  return val
148 
# Default (minimal) set of processors.

The documentation for this class was generated from the following file:
Generated at Mon Feb 17 2014 14:38:14 for Gaudi Framework, version v25r0 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004