Created
April 7, 2014 19:45
-
-
Save thecubic/10038840 to your computer and use it in GitHub Desktop.
python sqlite3 static version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## get pysqlite | |
$ git clone https://github.com/ghaering/pysqlite | |
## get static / self-contained version | |
$ wget sqlite-amalgamation-3080403.zip && unzip sqlite-amalgamation-3080403.zip | |
## copy sqlite3.c to pysqlite | |
$ cp sqlite-amalgamation-3080403/sqlite3.c pysqlite/sqlite3.c | |
## build_static (a secret cheat code) | |
$ cd pysqlite | |
$ python setup.py build_static |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment