- Timestamp:
- 05/09/06 15:34:25 (14 years ago)
- Location:
- TI02-CSML/trunk/csmltools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TI02-CSML/trunk/csmltools/csmllibs/__init__.py
r1464 r1480 10 10 import csmlfeaturefilemap 11 11 import csmlfiles 12 #import the parser module, assumes it is in a sibling directory to the one containing csmlscan.py13 import os14 import sys15 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.path19 try:20 import Parser21 import parser_extra22 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()25 12 13 -
TI02-CSML/trunk/csmltools/csmlscan.py
r1479 r1480 16 16 #CSML modules 17 17 import csmllibs 18 18 import parser 19 import parser_extra 19 20 20 21
Note: See TracChangeset
for help on using the changeset viewer.