`

build apsw manually

阅读更多

download sqlite sources and copy all files to apsw/src

 

open setup.py

 

find in finalize_options of apsw_build_ext class

 

comment ext.libraries.append('sqlite3')

 

find ext_modules=[Extension("apsw",

                             ["src/apsw.c"] 

 

at the bottom 

 

and add sqlite3.c like

 

ext_modules=[Extension("apsw",

                             ["src/apsw.c", "src/sqlite3.c"],

 

save and build it.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics