summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorPetri Lehtinen <petri@digip.org>2013-02-23 16:24:44 (GMT)
committerPetri Lehtinen <petri@digip.org>2013-02-23 16:24:44 (GMT)
commitd784e53d9683b26822cc08b02a4bc6cb5a482e66 (patch)
tree2d33f07be270d25ddc00b8dc4611a9d76041ab81 /setup.py
parent4eb9f5000e0ee147b15fd6d1b0db3237ad3638f3 (diff)
parentd2132144a475bad3676f80d55098b0daba6110f4 (diff)
downloadcpython-d784e53d9683b26822cc08b02a4bc6cb5a482e66.zip
cpython-d784e53d9683b26822cc08b02a4bc6cb5a482e66.tar.gz
cpython-d784e53d9683b26822cc08b02a4bc6cb5a482e66.tar.bz2
Issue #5033: Fix building of the sqlite3 extension module
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 4fd8efc..144767f 100644
--- a/setup.py
+++ b/setup.py
@@ -1073,7 +1073,7 @@ class PyBuildExt(build_ext):
with open(f) as file:
incf = file.read()
m = re.search(
- r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"(.*)"', incf)
+ r'\s*.*#\s*.*define\s.*SQLITE_VERSION\W*"([\d\.]*)"', incf)
if m:
sqlite_version = m.group(1)
sqlite_version_tuple = tuple([int(x)