Package cheesecake :: Module cheesecake_index :: Class IndexRequiredFiles
[show private | hide private]
[frames | no frames]

Type IndexRequiredFiles

object --+        
         |        
     Index --+    
             |    
    FilesIndex --+
                 |
                IndexRequiredFiles


Check for existence of important files, like README or INSTALL.


Method Summary
  compute(self, files_list, dirs_list, package_dir)
    Inherited from FilesIndex
  get_not_used(self, files_rules)
Get only these of files_rules that didn't match during computation.
  get_score(self, name, specs)
  match_filename(self, name, rule)
Check if name matches given rule.
  _compute_from_rules(self, files_list, package_dir, files_rules)
    Inherited from Index
  __init__(self, *indices)
  __getitem__(self, name)
  add_info(self, info_line)
Add information about index computation process, which will be visible with --verbose flag.
  add_subindex(self, index)
Add subindex.
  decide(self, cheesecake, when)
Decide if this index should be computed.
  decide_after_download(self, cheesecake)
  decide_before_download(self, cheesecake)
  get_info(self)
  print_info(self)
Print index name padded with dots, followed by value and details.
  remove_subindex(self, index_name)
Remove subindex (refered by name).
  _get_max_value(self)
  _get_requirements(self)
  _iter_indices(self)
Iterate over each subindex and yield their values.
  _print_info_many(self)
  _print_info_one(self)
  compute_with(self, cheesecake)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
    Inherited from Index
  requirements

Class Variable Summary
dict cheese_dirs = {<cheesecake.cheesecake_index.OneOf object...
dict cheese_files = {<cheesecake.cheesecake_index.OneOf objec...
int max_value = 220                                                                   
str name = 'IndexRequiredFiles'
    Inherited from FilesIndex
list _used_rules = []
    Inherited from Index
str details = ''
str info = ''
NoneType subindices = None                                                                  
int value = -1                                                                    

Class Variable Details

cheese_dirs

Type:
dict
Value:
{<cheesecake.cheesecake_index.OneOf object at 0xb7a2cc8c>: 30,
 <cheesecake.cheesecake_index.OneOf object at 0xb7a2ccac>: 30,
 <cheesecake.cheesecake_index.OneOf object at 0xb7a2cccc>: 10}         

cheese_files

Type:
dict
Value:
{<cheesecake.cheesecake_index.OneOf object at 0xb7a2ca2c>: 30,
 <cheesecake.cheesecake_index.OneOf object at 0xb7a2caac>: 30,
 <cheesecake.cheesecake_index.OneOf object at 0xb7a2cb2c>: 20,
 <cheesecake.cheesecake_index.OneOf object at 0xb7a2cb4c>: 20,
 <cheesecake.cheesecake_index.OneOf object at 0xb7a2cb6c>: 10,
 <cheesecake.cheesecake_index.OneOf object at 0xb7a2cb8c>: 10,
 <cheesecake.cheesecake_index.OneOf object at 0xb7a2cbec>: 10,
 <cheesecake.cheesecake_index.OneOf object at 0xb7a2cc2c>: 10,
...                                                                    

max_value

Type:
int
Value:
220                                                                   

name

Type:
str
Value:
'IndexRequiredFiles'                                                   

Generated by Epydoc 2.1 on Fri Feb 9 02:15:12 2007 http://epydoc.sf.net