Parent Directory
|
Revision Log
|
Patch
revision 2710 by bh, Tue Aug 28 15:41:52 2001 UTC | revision 2711 by dpinte, Tue Oct 10 10:30:54 2006 UTC | |
---|---|---|
# | Line 17 dir = os.path.join(thubandir, "Lib") | Line 17 dir = os.path.join(thubandir, "Lib") |
17 | if os.path.isdir(dir): | if os.path.isdir(dir): |
18 | sys.path.insert(0, dir) | sys.path.insert(0, dir) |
19 | ||
20 | # win32 gdal support | |
21 | if sys.platform == 'win32': | |
22 | # PYTHONPATH update | |
23 | dir = os.path.join(thubandir, "gdal", "pymod") | |
24 | if os.path.isdir(dir): | |
25 | sys.path.append(dir) | |
26 | ||
27 | try: | |
28 | import gdal | |
29 | except ImportError: | |
30 | print "Please update your PATH environment variable to include %s\\gdal\\bin" % thubandir | |
31 | ||
32 | import Thuban.UI.main | import Thuban.UI.main |
33 | ||
34 | # Start Thuban | # Start Thuban |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |