class ModuleSupport(builtins.object) |
|
A class providing useful method for dealing with IAS
modules including IAS_ROOT)
@raise OSError: if the folder is not writable or the license file is not found
@raise ValueError: if the passed folder name is None or Empty |
|
Static methods defined here:
- createModule(name)
- Create a IAS empty module.
The text of the LGPL license will be copied in the root of the module.
@param name: The name (full path) of the module to create.
@return: 0 in case of success; -1 otherwise
@see: self.writeLicenseFile
- removeExistingModule(name)
- Remove an existing module
@param name: The full path name of the module to remove
- writeLicenseFile(rootOfModule)
- Create a file with the license in the passed rootOfModule
@param The root folder of the module
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|