[Qgis-developer] Qgis 1.7, Mac Os X and pyspatialite

William Kyngesburye woklist at kyngchaos.com
Fri Jun 24 10:34:05 EDT 2011


On Jun 23, 2011, at 1:28 PM, Cline, Royce L. wrote:

> The pysqlite2 framework included in the SQLite framework from KyngChaos is built against spatialite and is therefore equivalent to pyspatialite. I am able to run the spatialite_manager plugin by replacing:
> from pyspatialite import dbapi2 as sqlite
> with
> from pysqlite2 import dbapi2 as sqlite
> 
> William, would it be possible to change the name (add an alias) in the framework so that it is compatible with some of the QGIS  plugins?

Easy to do to improve the ease of use...

> Alternative, can plugin developers test on OS X if pysqlite2 exists.
> 
... though this is generally a good idea for any system (they'd also have to test within pysqlite2 for the availability of spatialite).  But it's harder to get many developers to change habits than it is for one packager ;)

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy




More information about the Qgis-developer mailing list