Changeset 465 for trunk/pyragua/configmanager/config.py – Pyragua

Changeset 465 for trunk/pyragua/configmanager/config.py

Show
Ignore:
Timestamp:
08/09/10 02:15:01 (22 months ago)
Author:
ogranada
Message:

2010-08-09 Oscar Andres Granada <ogranada@…>

  • The Plugin architecture are implemented in pyragua.py file
  • Many methods were added to make more orderly implementation
  • The option parser are added and add the options "-s" (not Splash) and "-d" (debug)
  • yapsy library were modified in the file PluginManager?.py that without this amendment would be

required to install the library on the system.

  • They have positioned sample plugins in the plugins folder, it is necessary to improve the

documentation about this.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pyragua/configmanager/config.py

    r461 r465  
    3434        except: 
    3535            f = open(user_root+sep+'.pyragua/pyragua.conf','w') 
    36             from sk_files import pyragua_conf as pyragua_conf_data 
    37             f.write(pyragua_conf_data) 
     36            f.write('[plugins]\nlocation=.pyragua/plugins') 
    3837            f.close() 
    3938            self.files['pyragua_conf'].readfp(open(user_root+sep+'.pyragua/pyragua.conf')) 
    4039             
    41         print self.files['pyragua_conf'].sections() 
     40         
    4241        
    4342