Changeset 12657
- Timestamp:
- 07/18/12 18:58:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/startup.py
r12616 r12657 22 22 #ISSM path. Go through src/py and load everything we find that looks like a python file 23 23 for root,dirs,files in os.walk(ISSM_DIR+ '/src/py'): 24 if '.svn' in dirs: 25 dirs.remove('.svn') 24 26 for file in files: 25 27 if file.find(".py") != -1: … … 27 29 #add to path 28 30 sys.path.append(root) 31 print root, "\n" 29 32 file=os.path.splitext(file)[0] 30 33 #__import__(file) 31 34 32 35 for root,dirs,files in os.walk(ISSM_DIR+ '/src/m'): 36 if '.svn' in dirs: 37 dirs.remove('.svn') 33 38 for file in files: 34 39 if file.find(".py") != -1: … … 36 41 #add to path 37 42 sys.path.append(root) 43 print root, "\n" 38 44 file=os.path.splitext(file)[0] 39 45 #__import__(file)
Note:
See TracChangeset
for help on using the changeset viewer.