Changeset 3560
- Timestamp:
- 08/19/08 00:52:17 (5 years ago)
- Files:
-
- 1 modified
-
branch/UMPA/umpa/__init__.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branch/UMPA/umpa/__init__.py
r3543 r3560 26 26 from _sockets import Socket 27 27 28 # FIXME: does it work under windows?29 28 local_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 30 34 # checking if local directory exists 31 35 if not os.path.isdir(local_path): … … 33 37 os.mkdir(os.path.join(local_path,'umpa_plugins','extensions')) 34 38 39 # to allow things like: from umpa_plugins.extensions import something 40 # we need to add the local_path to the PYTHONPATH 35 41 sys.path.append(local_path) 42 43 # delete unnecessary vars 36 44 del local_path
