commit | ed909bcbddfa9c956fbbbb4a1b6a375d3e0e6599 | [log] [tgz] |
---|---|---|
author | Petri Lehtinen <petri@digip.org> | Sat Feb 23 17:05:28 2013 +0100 |
committer | Petri Lehtinen <petri@digip.org> | Sat Feb 23 17:16:20 2013 +0100 |
tree | 22db196f288f4f787835796d22a26c64600c2856 | |
parent | 507eb09ad6b051821c50bdf723edd0c3119012e8 [diff] [blame] |
Issue #5033: Fix building of the sqlite3 extension module
diff --git a/setup.py b/setup.py index d9898ff..6435834 100644 --- a/setup.py +++ b/setup.py
@@ -1012,7 +1012,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)