Edgewall Software

Changes between Version 284 and Version 285 of TracInstall


Ignore:
Timestamp:
Nov 20, 2009, 5:08:07 PM (14 years ago)
Author:
Christian Boos
Comment:

rewrite #ForSQLite section

Legend:

Unmodified
Added
Removed
Modified
  • TracInstall

    v284 v285  
    3838==== For SQLite ====
    3939
    40  * [http://www.sqlite.org/ SQLite], version 3.3.4 and above preferred (note: it is preinstalled in Python 2.5.2).
    41  * If not using Python-2.5: [http://pysqlite.googlecode.com PySQLite], version 1.x (for SQLite 2.x) or version 2.x (for SQLite 3.x), version 2.3.2 preferred. For details see [trac:PySqlite PySqlite]
    42 
    43 ''Note: It appears that PySQLite 2.x is required for Trac 0.9+/SQLite 3.x if you plan to use the 'trac-post-commit-hook.py' script available from the 'contrib' section of the source repository.''
     40If you're using Python 2.5 or 2.6, you already have everything you need.
     41
     42If you're using Python 2.3 or 2.4 and need pysqlite, you can download from
     43[http://code.google.com/p/pysqlite/downloads/list google code] the Windows
     44installers or the tar.gz archive for building from source:
     45{{{
     46$ tar xvfz <version>.tar.gz
     47$ cd <version>
     48$ python setup.py build_static install
     49}}}
     50 
     51That way, the latest SQLite version will be downloaded and built into the
     52bindings.
     53
     54If you're still using SQLite 2.x, you'll need pysqlite 1.0.x, although this
     55package is not easy to find anymore. For SQLite 3.x, try not to use
     56pysqlite 1.1.x, which has been deprecated in favor of pysqlite 2.x.
     57
     58See additional information in [trac:PySqlite PySqlite].
    4459
    4560''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).''