Issue #5033: Fix building of the sqlite3 extension module
This commit is contained in:
commit
d2132144a4
|
@ -908,6 +908,7 @@ Samuele Pedroni
|
|||
Justin Peel
|
||||
Marcel van der Peijl
|
||||
Berker Peksag
|
||||
Andreas Pelme
|
||||
Steven Pemberton
|
||||
Bo Peng
|
||||
Santiago Peresón
|
||||
|
|
|
@ -694,6 +694,9 @@ Tests
|
|||
Build
|
||||
-----
|
||||
|
||||
- Issue #5033: Fix building of the sqlite3 extension module when the
|
||||
SQLite library version has "beta" in it. Patch by Andreas Pelme.
|
||||
|
||||
- Issue #17228: Fix building without pymalloc.
|
||||
|
||||
- Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.
|
||||
|
|
2
setup.py
2
setup.py
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue