Skip to content

Set MAX_COLUMN to 32000 #442

Answered by rogerbinns
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Short answer is run this which combines everything into one step:

python3 setup.py fetch --all build_ext --definevalues  SQLITE_MAX_COLUMN=32000 install

You'll note messages about install going away and the above will stop working at some point. This is the proper way of doing it.

Create a setup.apsw file like the following. It is the pypi template with your definevalues added:

[build_ext]
definevalues = SQLITE_MAX_COLUMN=32000

[build]
# download corresponding sqlite release
fetch = True
# all extensions included
enable_all_extensions = True
# for Cursor.description_full
enable = COLUMN_METADATA

Run this to make a wheel:

python3 -m pip wheel .

Then install the wheel whose filename will…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rogerbinns
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant