- Timestamp:
- 01/10/12 06:07:12 (4 months ago)
- Location:
- simo/trunk
- Files:
-
- 3 edited
-
dev/utils/copy_spatialite.py (modified) (1 diff)
-
simulator/test/runner_with_spatial.ini (modified) (1 diff)
-
src/simo/db/datadb/db.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simo/trunk/dev/utils/copy_spatialite.py
r2678 r2682 9 9 datadb_path = os.path.join(base, 'src/simo/db/datadb') 10 10 spatia_path = 'parts/spatialite/lib' 11 iconv_path = 'parts/libiconv/lib'12 11 13 12 if sys.platform.startswith('darwin'): 14 13 libfile = 'libspatialite.dylib' 15 icofile = ''16 14 elif sys.platform.startswith('linux'): 17 15 libfile = 'libspatialite.so' 18 icofile = 'libiconv.so'19 16 else: 20 17 #no buildout for windows unfortunately 21 18 libfile = 'libspatialite-2.dll' 22 icofile = ''23 19 24 20 if not sys.platform.startswith('win'): -
simo/trunk/simulator/test/runner_with_spatial.ini
r2569 r2682 12 12 13 13 # These should usually be false if not dealing with concurrent db access. 14 # no_wipe prevents wiping old data from the database 14 15 no_wipe_import=0 15 16 no_wipe_simulate=0 16 17 no_wipe_optimize=0 18 # As per above. 19 # no_exec causes the database to store up all sql executions instead of running 20 no_exec_import=0 21 no_exec_simulate=0 22 no_exec_optimize=0 23 no_exec_logger=0 17 24 18 25 # code profiling should be set to false, used in development -
simo/trunk/src/simo/db/datadb/db.py
r2677 r2682 1069 1069 self.load_extension(absfile) 1070 1070 except Exception, e: #fallback to system lib 1071 if not sys.platform.startswith('win'): 1072 self.logger.warning('Failed to load spatialite (%s), '\ 1073 'falling back to system library' \ 1074 % (str(e),)) 1071 1075 self.load_extension(libfile) 1072 1076 if first:
Note: See TracChangeset
for help on using the changeset viewer.
