Changeset 3560

Show
Ignore:
Timestamp:
08/19/08 00:52:17 (5 years ago)
Author:
getxsick
Message:

Added comments

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branch/UMPA/umpa/__init__.py

    r3543 r3560  
    2626from _sockets import Socket 
    2727 
    28 # FIXME: does it work under windows? 
    2928local_path = os.path.join(os.path.expanduser('~'), '.umpa') 
     29 
     30# UMPA handles with local directory $HOME/.umpa 
     31# we need to check necessary hierarchy of dirs exists 
     32# if not, then create it 
     33 
    3034# checking if local directory exists 
    3135if not os.path.isdir(local_path): 
     
    3337    os.mkdir(os.path.join(local_path,'umpa_plugins','extensions')) 
    3438 
     39# to allow things like: from umpa_plugins.extensions import something 
     40# we need to add the local_path to the PYTHONPATH 
    3541sys.path.append(local_path) 
     42 
     43# delete unnecessary vars 
    3644del local_path