diff -r 0082b7bf9501 setup.py --- a/setup.py Mon Feb 18 22:04:59 2013 -0500 +++ b/setup.py Sat Feb 23 15:49:17 2013 +0100 @@ -1114,7 +1114,7 @@ if sqlite_setup_debug: print "sqlite: found %s"%f incf = open(f).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)