mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
upgrade to final version of pysqlite 2.2.0
This commit is contained in:
parent
c48c8db110
commit
8e7b490890
11 changed files with 30 additions and 38 deletions
7
setup.py
7
setup.py
|
@ -755,11 +755,10 @@ class PyBuildExt(build_ext):
|
|||
PYSQLITE_VERSION = "2.2.0"
|
||||
sqlite_defines = []
|
||||
if sys.platform != "win32":
|
||||
sqlite_defines.append(('PYSQLITE_VERSION',
|
||||
'"%s"' % PYSQLITE_VERSION))
|
||||
sqlite_defines.append(('MODULE_NAME', '"sqlite3"'))
|
||||
else:
|
||||
sqlite_defines.append(('PYSQLITE_VERSION',
|
||||
'\\"'+PYSQLITE_VERSION+'\\"'))
|
||||
sqlite_defines.append(('MODULE_NAME', '\\"sqlite3\\"'))
|
||||
|
||||
sqlite_defines.append(('PY_MAJOR_VERSION',
|
||||
str(sys.version_info[0])))
|
||||
sqlite_defines.append(('PY_MINOR_VERSION',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue