[Pythonmac-SIG] [pysqlite] sqlite and python

William Kyngesburye woklist at kyngchaos.com
Thu Mar 26 00:48:22 CET 2009


On Mar 25, 2009, at 6:24 PM, massimo di stefano wrote:

> if i type in a terminal :
>
> sqlite3 -version
>
> i've :
>
> macbook-pro-15-di-sasha:~ sasha$ sqlite3 -version
> 3.6.10
>
Odd that the 3.6.11 framework gives you a 3.6.10 version.  I get 3.6.11.

> can i change it to :
>
> [build_ext]
> #define=
> include_dirs=/Library/Frameworks/SQLite3.framework/Versions/3/Headers/
> library_dirs=//Library/Frameworks/SQLite3.framework/Versions/3/unix/ 
> lib
> libraries=sqlite3
> #define=SQLITE_OMIT_LOAD_EXTENSION
>
Works for me.  This looks like the way to do it.  Though you might  
want to clean it up a bit (extra slashes):

include_dirs=/Library/Frameworks/SQLite3.framework/Versions/3/Headers
library_dirs=/Library/Frameworks/SQLite3.framework/Versions/3/unix/lib

>

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

[Trillian]  What are you supposed to do WITH a maniacally depressed  
robot?

[Marvin]  You think you have problems?  What are you supposed to do if  
you ARE a maniacally depressed robot?  No, don't try and answer, I'm  
50,000 times more intelligent than you and even I don't know the  
answer...

- HitchHiker's Guide to the Galaxy




More information about the Pythonmac-SIG mailing list