Edgewall Software

Changes between Version 46 and Version 47 of PySqlite


Ignore:
Timestamp:
Nov 20, 2009, 5:48:38 PM (10 years ago)
Author:
Christian Boos
Comment:

added #Buildingpysqlite section, with Mac OS X note taken from TracInstall@285

Legend:

Unmodified
Added
Removed
Modified
  • PySqlite

    v46 v47  
    7777   [http://code.google.com/p/pysqlite/downloads/list Downloads] tab.
    7878 
     79==== Building pysqlite ====
     80
     81The recommended way to build the SQLite bindings is to do a "static build",
     82which will download the latest sqlite3 amalgamation file, build and link it inside
     83the pysqlite module:
     84 
     85{{{
     86#!sh
     87$ tar xvfz <version>.tar.gz
     88$ cd <version>
     89$ python setup.py build_static install
     90}}}
     91
     92''Note: Users of Mac OS X please take care; the Apple-supplied SQLite contains additional code to support file locking on network filesystems like AFP or SMB. This is not presently (3.3.6) in the mainline sources, so if you build your own SQLite from source it will not function correctly on such filesystems - typically it gives the error "{{{database is locked}}}". [http://www.alastairs-place.net/2006/07/sqlite_and_mac/ A patch] is available for version 3.3.6, based on Apple's code, otherwise you're probably best off using the Apple supplied version (presently 3.1.3).''
    7993
    8094== Upgrading SQLite ==