diff options
author | Gerhard Häring <gh@ghaering.de> | 2006-04-23 15:24:26 (GMT) |
---|---|---|
committer | Gerhard Häring <gh@ghaering.de> | 2006-04-23 15:24:26 (GMT) |
commit | 3e99c0ad649de0393d9a8af17f34d9d1f55f4ab2 (patch) | |
tree | eccb1576b1380f17d880133f1fbf92df8456295d /setup.py | |
parent | 5ef9d9fdb93cd5bd5179d8ce63c28248a4614d44 (diff) | |
download | cpython-3e99c0ad649de0393d9a8af17f34d9d1f55f4ab2.zip cpython-3e99c0ad649de0393d9a8af17f34d9d1f55f4ab2.tar.gz cpython-3e99c0ad649de0393d9a8af17f34d9d1f55f4ab2.tar.bz2 |
Updated the sqlite3 module to the external pysqlite 2.2.2 version.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -743,10 +743,8 @@ class PyBuildExt(build_ext): sqlite_libdir = [os.path.abspath(os.path.dirname(sqlite_libfile))] if sqlite_incdir and sqlite_libdir: - sqlite_srcs = ['_sqlite/adapters.c', - '_sqlite/cache.c', + sqlite_srcs = ['_sqlite/cache.c', '_sqlite/connection.c', - '_sqlite/converters.c', '_sqlite/cursor.c', '_sqlite/microprotocols.c', '_sqlite/module.c', @@ -755,18 +753,12 @@ class PyBuildExt(build_ext): '_sqlite/statement.c', '_sqlite/util.c', ] - PYSQLITE_VERSION = "2.2.0" sqlite_defines = [] if sys.platform != "win32": sqlite_defines.append(('MODULE_NAME', '"sqlite3"')) else: sqlite_defines.append(('MODULE_NAME', '\\"sqlite3\\"')) - sqlite_defines.append(('PY_MAJOR_VERSION', - str(sys.version_info[0]))) - sqlite_defines.append(('PY_MINOR_VERSION', - str(sys.version_info[1]))) - exts.append(Extension('_sqlite3', sqlite_srcs, define_macros=sqlite_defines, include_dirs=["Modules/_sqlite", |