Changeset 1480


Ignore:
Timestamp:
05/09/06 15:34:25 (13 years ago)
Author:
domlowe
Message:

continued...

Location:
TI02-CSML/trunk/csmltools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csmltools/csmllibs/__init__.py

    r1464 r1480  
    1010import csmlfeaturefilemap 
    1111import csmlfiles 
    12 #import the parser module, assumes it is in a sibling directory to the one containing csmlscan.py 
    13 import os 
    14 import sys 
    15 currentPath=os.getcwd() 
    16 parentPath=os.sep.join(currentPath.split(os.sep)[:-1]) 
    17 parserPath=parentPath + '/parser' 
    18 sys.path.append(parserPath) #append the parser path to sys.path 
    19 try: 
    20     import Parser 
    21     import parser_extra 
    22 except: 
    23     print 'Could not import CSML Parser module. Make sure the parser code is in ../parser directory on the same level as ../Scanner directory.' 
    24     sys.exit() 
    2512 
     13 
  • TI02-CSML/trunk/csmltools/csmlscan.py

    r1479 r1480  
    1616#CSML modules 
    1717import csmllibs 
    18  
     18import parser 
     19import parser_extra 
    1920 
    2021 
Note: See TracChangeset for help on using the changeset viewer.