Skip to content. | Skip to navigation

Navigation

Personal tools

Development Applications

Perl, CVS, Databases, that sort of stuff

PySQLite

Python binding for SQLite

PySQLite is the Python binding for SQLite.

Build

Edit setup.cfg to point at your distribution od SQLite.

You will need to set LDFLAGS to point at both your Python distribution and your SQLite distribution. A missing Python library fails immediately. A missing SQLite library won't be noticed until you try to use it.

cd .../pysqlite-2.3.3

LDFLAGS="-L/usr/local/Python-2.5.1/lib -R/usr/local/Python-2.5.1/lib \
         -L/usr/local/sqlite-3.3.17/lib -R/usr/local/sqlite-3.3.17/lib" \
 python setup.py build

python setup.py install

Document Actions