Skip to content

Commit

Permalink
apply patch #28 (new format of amalgamation files) and bump version n…
Browse files Browse the repository at this point in the history
…umber to 2.6.1
  • Loading branch information
ghaering committed Feb 8, 2011
1 parent 46f91ec commit 09d296d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,11 @@ def get_amalgamation():

zf = zipfile.ZipFile("tmp.zip")
files = ["sqlite3.c", "sqlite3.h"]
directory = zf.namelist()[0]
for fn in files:
print "Extracting", fn
outf = open(AMALGAMATION_ROOT + os.sep + fn, "wb")
outf.write(zf.read(fn))
outf.write(zf.read(directory + fn))
outf.close()
zf.close()
os.unlink("tmp.zip")
Expand Down
2 changes: 1 addition & 1 deletion src/module.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#define PYSQLITE_MODULE_H
#include "Python.h"

#define PYSQLITE_VERSION "2.6.0"
#define PYSQLITE_VERSION "2.6.1"

extern PyObject* pysqlite_Error;
extern PyObject* pysqlite_Warning;
Expand Down

0 comments on commit 09d296d

Please sign in to comment.