source: TI02-CSML/trunk/Scanner/csmllibs/__init__.py @ 1464

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI02-CSML/trunk/Scanner/csmllibs/__init__.py@1464
Revision 1464, 704 bytes checked in by domlowe, 13 years ago (diff)

fixed multiple glitches in scanner

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#empty
2
3import csmlbuilder
4import csmldataiface
5import csmltime
6import csmlfileextracts
7import csmldirectory
8import csmlfeaturetypes
9import csmlextra
10import csmlfeaturefilemap
11import csmlfiles
12#import the parser module, assumes it is in a sibling directory to the one containing csmlscan.py
13import os
14import sys
15currentPath=os.getcwd()
16parentPath=os.sep.join(currentPath.split(os.sep)[:-1])
17parserPath=parentPath + '/parser'
18sys.path.append(parserPath) #append the parser path to sys.path
19try:
20    import Parser
21    import parser_extra
22except:
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
Note: See TracBrowser for help on using the repository browser.