| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

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:
[legend]
Collaboration diagram for EnvConfig.Variable.UsePythonZip:
[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.

134
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.

138
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:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/cmake/EnvConfig/Variable.py