Mercurial > cpython-lru_cache-weakref
diff setup.py @ 82345:c613eb716c8e 3.3
Issue #5033: Fix building of the sqlite3 extension module
| author | Petri Lehtinen <petri@digip.org> |
|---|---|
| date | Sat, 23 Feb 2013 17:24:00 +0100 |
| parents | f2c2846f0c2f 73d5dd480558 |
| children | 33208a574875 19b3aaf79e45 |
line wrap: on
line diff
--- a/setup.py Sat Feb 23 14:48:16 2013 +0200 +++ b/setup.py Sat Feb 23 17:24:00 2013 +0100 @@ -1062,7 +1062,7 @@ 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)
