diff options
author | Petri Lehtinen <petri@digip.org> | 2013-02-23 16:24:00 (GMT) |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2013-02-23 16:24:00 (GMT) |
commit | d2132144a475bad3676f80d55098b0daba6110f4 (patch) | |
tree | 9a97f1d4ecd0b766a942cdacc4ad9386d6360b48 /setup.py | |
parent | 18809fa94eb5840421857ed4eabf36f5141fd874 (diff) | |
parent | ed909bcbddfa9c956fbbbb4a1b6a375d3e0e6599 (diff) | |
download | cpython-d2132144a475bad3676f80d55098b0daba6110f4.zip cpython-d2132144a475bad3676f80d55098b0daba6110f4.tar.gz cpython-d2132144a475bad3676f80d55098b0daba6110f4.tar.bz2 |
Issue #5033: Fix building of the sqlite3 extension module
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1062,7 +1062,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) |