From 641fea43540523e3a121945323a30ce4c188df18 Mon Sep 17 00:00:00 2001 From: Kovarththanan Rajaratnam Date: Mon, 15 Feb 2010 20:10:23 +0100 Subject: [PATCH] Add new sqlite3 dependency --- README | 5 +++++ setup.py | 3 +++ 2 files changed, 8 insertions(+) diff --git a/README b/README index 0b22970acbd..542b5457da0 100644 --- a/README +++ b/README @@ -55,6 +55,11 @@ REQUIREMENTS: Buildbot requires python-2.4 or later. It is also tested against python-2.5 and python-2.6. + sqlite3: http://pypi.python.org/pypi/pysqlite + + sqlite3 is required for python-2.4 and earlier (already included + in python-2.5 and later) + simplejson: http://pypi.python.org/pypi/simplejson simplejson is required for python-2.5 and earlier (already included diff --git a/setup.py b/setup.py index 1be7b8d53d8..84e40f559dc 100644 --- a/setup.py +++ b/setup.py @@ -246,6 +246,9 @@ def finalize_options(self): 'twisted >= 2.0.0', 'Jinja2', ] + # Python-2.5 and up includes sqlite3 + if not py_25: + setup_args['install_requires'].append('sqlite3') # Python-2.6 and up includes json if not py_26: setup_args['install_requires'].append('simplejson')