mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
bpo-43444: Move sqlite3 MODULE_NAME from setup.py to module.h (GH-24801)
This commit is contained in:
parent
75048c8a38
commit
2256a2876b
5 changed files with 3 additions and 10 deletions
5
setup.py
5
setup.py
|
@ -1571,12 +1571,7 @@ class PyBuildExt(build_ext):
|
|||
'_sqlite/row.c',
|
||||
'_sqlite/statement.c',
|
||||
'_sqlite/util.c', ]
|
||||
|
||||
sqlite_defines = []
|
||||
if not MS_WINDOWS:
|
||||
sqlite_defines.append(('MODULE_NAME', '"sqlite3"'))
|
||||
else:
|
||||
sqlite_defines.append(('MODULE_NAME', '\\"sqlite3\\"'))
|
||||
|
||||
# Enable support for loadable extensions in the sqlite3 module
|
||||
# if --enable-loadable-sqlite-extensions configure option is used.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue