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.'' |
| 40 | If you're using Python 2.5 or 2.6, you already have everything you need. |
| 41 | |
| 42 | If 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 |
| 44 | installers 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 | |
| 51 | That way, the latest SQLite version will be downloaded and built into the |
| 52 | bindings. |
| 53 | |
| 54 | If you're still using SQLite 2.x, you'll need pysqlite 1.0.x, although this |
| 55 | package is not easy to find anymore. For SQLite 3.x, try not to use |
| 56 | pysqlite 1.1.x, which has been deprecated in favor of pysqlite 2.x. |
| 57 | |
| 58 | See additional information in [trac:PySqlite PySqlite]. |