Hello,

I am compiling apsw with SQLITE_32BIT_ROWID by adding the #define to
sqlite3/sqlite3config.h after running 'setup.py fetch --sqlite'.

However, as I understood, the resulting apsw will not work with
normal, 64-bit rowid databases.

To prevent other applications from accidentally using the 32bit apsw,
I therefore wanted to install this version under a different module
name.

What is the best way to accomplish that? Is it sufficient to replace 

     ext_modules=[Extension("apsw",
                             ["src/apsw.c"],
                             include_dirs=include_dirs,
                             library_dirs=library_dirs,
                             libraries=libraries,
                             define_macros=define_macros,
                             depends=depends)],
with e.g.

    ext_modules=[Extension("apsw32",
                             ["src/apsw.c"],
                             include_dirs=include_dirs,
                             library_dirs=library_dirs,
                             libraries=libraries,
                             define_macros=define_macros,
                             depends=depends)],

in setup.py? Or does apsw rely on being installed as apsw in other
places as well?
 

Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to